Changeset 9786 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 7 Dec 2012, 10:55:35 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/catalog.py
r9736 r9786 24 24 from zope.catalog.interfaces import ICatalog 25 25 from zope.component import queryUtility 26 from waeup.kofa.catalog import FilteredCatalogQueryBase 26 27 from waeup.kofa.interfaces import ( 27 28 IUniversity, IQueryResultItem, academic_sessions_vocab) … … 125 126 session = index.Field(attribute='getLevelSession') 126 127 code = index.Field(attribute='code') 128 129 class StudentsQuery(FilteredCatalogQueryBase): 130 """Query students in a site. See waeup.kofa.catalog for more info. 131 """ 132 cat_name = 'students_catalog' 133 defaults = dict(student_id=None) # make sure we get all studs by default
Note: See TracChangeset for help on using the changeset viewer.