Changeset 587 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 28 Sep 2006, 22:32:26 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/searchStudents.py
r584 r587 32 32 default = {'search_mode': 'name', 33 33 'review_state': 'admission_applied ', 34 'search_string': ' yy'34 'search_string': '' 35 35 } 36 36 … … 55 55 if state == " ----- ": 56 56 state = '' 57 if not term and what in ('student_edit','jamb_id','name','matric_no'): 58 return context.students_manager_view(rendered = rend, 59 psm = "You must specify a search string", 60 #psm = "%s, %s" % (psm,ds), 61 students = items, 62 is_manager = is_manager, 63 ) 57 64 onlyreview = state and what == "review_state" 58 65 items = [] … … 64 71 elif what == "student_id": 65 72 res = catalog(portal_type='Student', 66 id = student_id.strip())73 id = term.strip()) 67 74 elif what == "jamb_id": 68 75 res = catalog(portal_type='StudentApplication',
Note: See TracChangeset for help on using the changeset viewer.