Ignore:
Timestamp:
6 Nov 2008, 08:31:03 (16 years ago)
Author:
Henrik Bettermann
Message:

allow more than one lecturer in course

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/getLecturerCoursesInfo.py

    r3611 r3753  
    1313"""
    1414
     15#from Products.AdvancedQuery import Eq, Between, Le,In
    1516mtool = context.portal_membership
    1617member = mtool.getAuthenticatedMember()
     
    3637
    3738res = 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
    3841items = [ brain for brain in res]
    3942items.sort(cmpsemester)
Note: See TracChangeset for help on using the changeset viewer.