Changeset 14704 for main/waeup.aaue/trunk/src
- Timestamp:
- 26 Jun 2017, 21:11:44 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py
r14703 r14704 949 949 950 950 def data(self, session): 951 #site = grok.getSite() 951 952 cat = queryUtility(ICatalog, name='coursetickets_catalog') 952 953 coursetickets = cat.searchResults( … … 963 964 #_('Status'), 964 965 #_('Course of\nStudies'), 966 _('Department'), 965 967 _('Level'), 966 968 _(' CA '), … … 970 972 ],] 971 973 sorted_tickets = sorted(editable_tickets, 972 key=lambda ticket: ticket.student.certcode + 973 ticket.student.display_fullname + str(ticket.level)) 974 key=lambda ticket: ticket.student.faccode 975 + ticket.student.depcode 976 + ticket.student.matric_number) 974 977 no = 1 975 978 tickets = [] … … 989 992 passed += 1 990 993 fullname = textwrap.fill(ticket.student.display_fullname, 30) 994 #deptitle = site['faculties'][ticket.student.faccode][ 995 # ticket.student.depcode].longtitle 991 996 row = [no, 992 997 ticket.student.matric_number, … … 995 1000 #ticket.student.translated_state, 996 1001 #ticket.student.certcode, 1002 ticket.student.faccode + ' / ' + ticket.student.depcode, 997 1003 ticket.level, 998 1004 ticket.ca,
Note: See TracChangeset for help on using the changeset viewer.