Changeset 16520 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 29 Jun 2021, 07:35:39 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r16518 r16520 4114 4114 _('Score') ],] 4115 4115 tickets = [] 4116 sn = 14117 4116 for ticket in list(coursetickets): 4118 row = [sn, 4119 ticket.student.matric_number, 4117 row = [ticket.student.matric_number, 4120 4118 ticket.student.reg_number, 4121 4119 ticket.student.display_fullname, … … 4127 4125 ] 4128 4126 tickets.append(row) 4127 data = sorted(tickets, key=lambda value: value[7]) 4128 sn = 1 4129 for d in data: 4130 d.pop(7) 4131 d.insert(0, sn) 4129 4132 sn += 1 4130 data = sorted(tickets, key=lambda value: value[8])4131 for d in data: d.pop(8)4132 4133 return header + data, None 4133 4134
Note: See TracChangeset for help on using the changeset viewer.