Changeset 2278 for WAeUP_SRP/base/skins
- Timestamp:
- 26 Sep 2007, 15:40:42 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/search_students.py
r2253 r2278 195 195 search_set = [r.id for r in res] 196 196 elif what == "name": 197 if len(term) < 4: 198 return context.search_students_form(rendered = rend, 199 psm = "Name to short.", 200 students = [], 201 allowed = allowed, 202 ) 197 203 pt = ('StudentPersonal') 198 204 query = In('portal_type',pt) & Eq('SearchableText',"%s*" % term.strip())
Note: See TracChangeset for help on using the changeset viewer.