Changeset 15104 for main


Ignore:
Timestamp:
13 Aug 2018, 05:54:06 (6 years ago)
Author:
Henrik Bettermann
Message:

Sort on title.

File:
1 edited

Legend:

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

    r15066 r15104  
    17861786    def selectable_categories(self):
    17871787        categories = getUtility(IKofaUtils).SELECTABLE_PAYMENT_CATEGORIES
    1788         return sorted(categories.items())
     1788        return sorted(categories.items(), key=lambda value: value[1])
    17891789
    17901790    @action(_('Create ticket'), style='primary')
Note: See TracChangeset for help on using the changeset viewer.