Ignore:
Timestamp:
24 Aug 2015, 12:03:08 (9 years ago)
Author:
Henrik Bettermann
Message:

Reverse sorting.

File:
1 edited

Legend:

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

    r13218 r13222  
    9393        if self.layout.isAuthenticated():
    9494            values = sorted([container for container in self.context.values()],
    95                             key=lambda value: value.enddate)
     95                            key=lambda value: value.enddate, reverse=True)
    9696            return values
    9797        values = sorted([container for container in self.context.values()
    9898                         if not container.hidden],
    99                         key=lambda value: value.enddate)
     99                        key=lambda value: value.enddate, reverse=True)
    100100        return values
    101101
Note: See TracChangeset for help on using the changeset viewer.