Ignore:
Timestamp:
2 Oct 2019, 11:41:49 (5 years ago)
Author:
Henrik Bettermann
Message:

Remove editable courseticket filter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py

    r15512 r15631  
    11491149        except KeyError:
    11501150            coursetickets_filtered = coursetickets
    1151         # In AAUE only editable tickets can be printed
    1152         editable_tickets = [
    1153             ticket for ticket in coursetickets_filtered
    1154             if ticket.editable_by_lecturer]
     1151        # In AAUE only editable tickets can be printed (deactivated on 02/10/19)
     1152        #editable_tickets = [
     1153        #    ticket for ticket in coursetickets_filtered
     1154        #    if ticket.editable_by_lecturer]
    11551155        header = [[_(''),
    11561156                   _('Student Id'),
     
    11671167                   _('Grade'),
    11681168                   ],]
    1169         sorted_tickets = sorted(editable_tickets,
     1169        sorted_tickets = sorted(coursetickets_filtered, # editable_tickets,
    11701170            key=lambda ticket: ticket.student.depcode
    11711171                               + ticket.student.faccode
     
    11761176        failed = 0
    11771177        with_ca = False
    1178         # In AAUE only editable tickets can be printed
    11791178        for ticket in sorted_tickets:
    11801179            if ticket.ca > 0:
Note: See TracChangeset for help on using the changeset viewer.