- Timestamp:
- 23 Sep 2018, 05:05:04 (6 years ago)
- Location:
- main/waeup.kofa/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk
- Property svn:mergeinfo changed
/main/waeup.kofa/branches/henrik-transcript-workflow (added) merged: 15127-15128,15133-15134,15140-15143,15145-15150,15152-15155,15157-15160,15162
- Property svn:mergeinfo changed
-
main/waeup.kofa/trunk/src/waeup/kofa
- Property svn:mergeinfo changed
/main/waeup.kofa/branches/henrik-transcript-workflow/src/waeup/kofa (added) merged: 15128,15134,15140-15143,15145-15150,15152-15155,15157-15160,15162
- Property svn:mergeinfo changed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/catalog.py
r10465 r15163 29 29 from waeup.kofa.students.interfaces import IStudent, ICourseTicket 30 30 from waeup.kofa.university.vocabularies import course_levels 31 from waeup.kofa.students.workflow import (TRANSREQ, TRANSVAL) 31 32 32 33 class StudentsCatalog(grok.Indexes): … … 88 89 hitlist.append(StudentQueryResultItem(student, view=view)) 89 90 return hitlist 90 elif searchtype == 'transcript':91 elif searchtype in (TRANSREQ, TRANSVAL): 91 92 cat = queryUtility(ICatalog, name='students_catalog') 92 results = cat.searchResults( 93 state=('transcript requested', 'transcript requested')) 93 results = cat.searchResults(state=(searchtype, searchtype)) 94 94 else: 95 95 # Temporary solution to display all students added
Note: See TracChangeset for help on using the changeset viewer.