Mercurial > hg > MPIWGWeb
comparison MPIWGStaff.py @ 85:271cf05a8648
personal_www_list_web doesn't make sense any more.
author | casties |
---|---|
date | Tue, 14 May 2013 10:36:48 +0200 |
parents | b1893c4c9d2c |
children | ab836d3f96dc |
comparison
equal
deleted
inserted
replaced
84:faaded775a8a | 85:271cf05a8648 |
---|---|
1139 return [] | 1139 return [] |
1140 | 1140 |
1141 def getLastArrivals(self,limit=None): | 1141 def getLastArrivals(self,limit=None): |
1142 """getlast arrivals""" | 1142 """getlast arrivals""" |
1143 if not limit: | 1143 if not limit: |
1144 selectStr="select * from personal_www_list_web where publish_the_data = 'yes' and is_scholar='yes' and date_from < CURRENT_DATE order by date_from DESC" | 1144 selectStr="select * from personal_www_list where publish_the_data = 'yes' and is_scholar='yes' and date_from < CURRENT_DATE order by date_from DESC" |
1145 else: | 1145 else: |
1146 selectStr="select * from personal_www_list_web where publish_the_data = 'yes' and is_scholar='yes' and date_from < CURRENT_DATE order by date_from DESC limit %s"%limit | 1146 selectStr="select * from personal_www_list where publish_the_data = 'yes' and is_scholar='yes' and date_from < CURRENT_DATE order by date_from DESC limit %s"%limit |
1147 | 1147 |
1148 res=self.members.executeZSQL(selectStr) | 1148 res=self.members.executeZSQL(selectStr) |
1149 | 1149 |
1150 return res | 1150 return res |
1151 | 1151 |