Ignore:
Timestamp:
7 Jan 2013, 08:35:10 (12 years ago)
Author:
Henrik Bettermann
Message:

Sort modes.

File:
1 edited

Legend:

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

    r9836 r9838  
    27072707    def _set_mode_values(self):
    27082708        utils = getUtility(IKofaUtils)
    2709         self.modes = [(value, key) for key, value in
    2710                       utils.STUDY_MODES_DICT.items()]
     2709        self.modes = sorted([(value, key) for key, value in
     2710                      utils.STUDY_MODES_DICT.items()])
    27112711        self.modes +=[(_('All Modes'), 'all')]
    27122712        return
Note: See TracChangeset for help on using the changeset viewer.