Ignore:
Timestamp:
9 Dec 2022, 10:20:52 (2 years ago)
Author:
Henrik Bettermann
Message:

Sort correctly.

File:
1 edited

Legend:

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

    r17094 r17214  
    161161    def getValues(self):
    162162        months_dict = getUtility(IKofaUtils).MONTHS_DICT
    163         return sorted(months_dict.keys())
     163        return sorted(months_dict.keys(), key=lambda x: int(x))
    164164
    165165    def getToken(self, value):
Note: See TracChangeset for help on using the changeset viewer.