Ignore:
Timestamp:
13 Apr 2010, 07:27:13 (15 years ago)
Author:
Henrik Bettermann
Message:

fix schools #17

File:
1 edited

Legend:

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

    r3074 r5144  
    4545level = context
    4646level_id = context.getId()
     47session_id = context.getLevelSession(level.getContent(),student_id,level_id)
    4748res = context.portal_catalog(portal_type="Certificate", id = cert_id)
    4849query = Eq('student_id',student_id) & Eq('level_id', level_id)
     
    7374        d['student_id'] = student_id
    7475        d['level_id'] = level_id
     76        d['session_id'] = session_id
    7577        d['key'] = "%s|%s|%s" % (student_id,level_id,course_id)
    7678        records.append(d)
     
    7981
    8082#session.set('in_progress','finished')
    81 logger.info('%s updated course list' % member)
     83logger.info('%s updated level %s of %s' % (member,level_id,student_id))
    8284
    8385args = {}
Note: See TracChangeset for help on using the changeset viewer.