Changeset 3753 for WAeUP_SRP/trunk/skins
- Timestamp:
- 6 Nov 2008, 08:31:03 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getLecturerCoursesInfo.py
r3611 r3753 13 13 """ 14 14 15 #from Products.AdvancedQuery import Eq, Between, Le,In 15 16 mtool = context.portal_membership 16 17 member = mtool.getAuthenticatedMember() … … 36 37 37 38 res = context.courses_catalog(lecturer=lec_id) 39 #query = Eq('lecturer',lec_id) 40 #res = context.courses_catalog.evalAdvancedQuery(query) #works both with lecturer as TextIndex 38 41 items = [ brain for brain in res] 39 42 items.sort(cmpsemester)
Note: See TracChangeset for help on using the changeset viewer.