fix(allocation-list): fix sorting

This commit is contained in:
Gregor Kleen 2019-12-06 17:22:09 +01:00
parent 80ff4ac2a7
commit 33d9bacc8a

View File

@ -89,7 +89,7 @@ getAllocationListR = do
dbtSorting = mconcat
[ sortTerm $ queryAllocation . to (E.^. AllocationTerm)
, sortSchool $ queryAllocation . to (E.^. AllocationSchool)
, sortSchoolShort $ queryAllocation . to (E.^. AllocationSchool)
, sortAllocationName $ queryAllocation . to (E.^. AllocationName)
, singletonMap "available" . SortColumn $ view queryAvailable
, if