Changeset 3734 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
23 Oct 2008, 19:28:30 (16 years ago)
Author:
Henrik Bettermann
Message:

fix #574 (uniben)

File:
1 edited

Legend:

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

    r3468 r3734  
    211211if student_records:
    212212    for student_record in student_records:
     213       
     214        #ensure that course/level combinations are correct (see ticket #574)
     215        if ca_view:
     216           course = getattr(student_record, 'course')
     217           level = getattr(student_record, 'level')
     218           if course+'/'+level not in certificate_levels:
     219               continue
     220               
    213221        info = {}
    214222        for field in students_catalog.schema() + students_catalog.indexes():
Note: See TracChangeset for help on using the changeset viewer.