Changeset 765 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 27 Oct 2006, 11:34:06 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 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: -
WAeUP_SRP/trunk/skins/waeup_student/student_index.py
r742 r765 34 34 elif state == 'application_pin_entered': 35 35 return redirect("%s/passport_entry_view" % student.absolute_url()) 36 elif context.portal_type == 'StudentStudyLevel': 37 return context.study_level_student_view() 36 38 return redirect("%s/student_view" % student.absolute_url()) 37 39
Note: See TracChangeset for help on using the changeset viewer.