Changeset 15823 for main


Ignore:
Timestamp:
18 Nov 2019, 20:45:32 (5 years ago)
Author:
Henrik Bettermann
Message:

Sort items.

File:
1 edited

Legend:

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

    r15821 r15823  
    10511051                mapping = {'a':data[1][5],'b':data[1][6]})), style["Normal"]),]
    10521052            grade_stats = []
    1053             for item in data[1][7].items():
     1053            for item in sorted(data[1][7].items()):
    10541054                grade_stats.append(('%s=%s' % (item[0], item[1])))
    10551055            grade_stats_string = ', '.join(grade_stats)
Note: See TracChangeset for help on using the changeset viewer.