Ignore:
Timestamp:
26 Feb 2007, 09:16:06 (18 years ago)
Author:
joachim
Message:

make register courses work

File:
1 edited

Legend:

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

    r1482 r1494  
    1212return Info about the Studylevel
    1313"""
     14try:
     15    from Products.zdb import set_trace
     16except:
     17    def set_trace():
     18        pass
    1419from Products.AdvancedQuery import Eq, Between, Le,In
    15 evalAdvancedQuery = context.portal_catalog.evalAdvancedQuery
     20aq_portal = context.portal_catalog.evalAdvancedQuery
    1621request = context.REQUEST
    1722session = request.SESSION
     
    6671    if id.endswith('_co'):
    6772        d = context.getCourseInfo(id[:-3])
     73        d['id'] = id
    6874        d['grade'] = obj.getContent().grade
    6975        carry_overs.append(d)
    7076    else:
    7177        d = context.getCourseInfo(id)
     78        d['id'] = id
    7279        coe = obj.getContent().core_or_elective
    7380        d['coe'] = 'Core'
Note: See TracChangeset for help on using the changeset viewer.