version 1.10.2.34, 2007/04/25 22:33:51
|
version 1.10.2.35, 2007/04/26 17:02:09
|
Line 95 class MPIWGStaff(CatalogAware,ZSQLExtend
|
Line 95 class MPIWGStaff(CatalogAware,ZSQLExtend
|
def isPublished(self): |
def isPublished(self): |
"""gib publications status aus der datenbank aus""" |
"""gib publications status aus der datenbank aus""" |
key=self.getKey() |
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) |
res = self.ZSQLQuery(query) |
|
|
Line 479 class MPIWGStaff(CatalogAware,ZSQLExtend
|
Line 479 class MPIWGStaff(CatalogAware,ZSQLExtend
|
if mode=="year": |
if mode=="year": |
return "year DESC" |
return "year DESC" |
else: |
else: |
return "mode" |
return mode |
|
|
def integer(self,value): |
def integer(self,value): |
try: |
try: |