Changeset 9859 for main


Ignore:
Timestamp:
10 Jan 2013, 11:57:47 (12 years ago)
Author:
Henrik Bettermann
Message:

Add level_session column to export.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/export.py

    r9845 r9859  
    249249    #: Fieldnames considered by this exporter
    250250    fields = tuple(sorted(iface_names(ICourseTicket) +
    251         ['level', 'code'])) + ('student_id', 'certcode')
     251        ['level', 'code', 'level_session'])) + ('student_id', 'certcode')
    252252
    253253    #: The title under which this exporter will be displayed
     
    266266            if name == 'level':
    267267                value = getattr(context, 'getLevel', lambda: None)()
     268            if name == 'level_session':
     269                value = getattr(context, 'getLevelSession', lambda: None)()
    268270        return super(
    269271            CourseTicketExporter, self).mangle_value(
Note: See TracChangeset for help on using the changeset viewer.