Changeset 765 for WAeUP_SRP/trunk/skins/waeup_student/searchStudents.py
- Timestamp:
- 27 Oct 2006, 11:34:06 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/searchStudents.py
r755 r765 17 17 except: 18 18 evalAdvancedQuery = None 19 20 def cmp_id(a,b): 21 if a.getId() > b.getId(): 22 return 1 23 return -1 19 24 20 25 request = context.REQUEST … … 147 152 items.append(a) 148 153 students = [] 154 items.sort(cmp_id) 149 155 if items: 150 156 for item in items:
Note: See TracChangeset for help on using the changeset viewer.