Changeset 13907 for main/waeup.aaue/trunk
- Timestamp:
- 10 Jun 2016, 07:59:13 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py
r13900 r13907 619 619 code=(self.context.code, self.context.code) 620 620 ) 621 result= [[_('Matric No.'),621 header = [[_('Matric No.'), 622 622 _('Reg. No.'), 623 623 _('Fullname'), … … 627 627 _('Score'), 628 628 _('CA') ],] 629 tickets = [] 629 630 for ticket in list(coursetickets): 630 631 row = [ticket.student.matric_number, … … 636 637 ticket.score, 637 638 ticket.ca] 638 result.append(row) 639 return result 639 tickets.append(row) 640 return header + sorted(tickets, key=lambda value: value[0]) 641
Note: See TracChangeset for help on using the changeset viewer.