--- MPIWGWeb/MPIWGStaff.py 2007/04/25 22:33:51 1.10.2.34 +++ MPIWGWeb/MPIWGStaff.py 2007/04/26 17:02:09 1.10.2.35 @@ -95,7 +95,7 @@ class MPIWGStaff(CatalogAware,ZSQLExtend def isPublished(self): """gib publications status aus der datenbank aus""" key=self.getKey() - query="select count(publish_the_data) from personal_www where key='%s' and publish_the_data='yes'"%key + query="select count(publish_the_data) from personal_www where lower(key)='%s' and publish_the_data='yes'"%key res = self.ZSQLQuery(query) @@ -479,7 +479,7 @@ class MPIWGStaff(CatalogAware,ZSQLExtend if mode=="year": return "year DESC" else: - return "mode" + return mode def integer(self,value): try: