chore(print): change default sorting order for print center
This commit is contained in:
parent
f29055a91b
commit
d48d922a9c
@ -248,7 +248,7 @@ mkPJTable = do
|
||||
(First (Just act), jobMap) <- inp
|
||||
let jobSet = Map.keysSet . Map.filter id $ getDBFormResult (const False) jobMap
|
||||
return (act, jobSet)
|
||||
psValidator = def & defaultSorting [SortDescBy "created"]
|
||||
psValidator = def & defaultSorting [SortDescBy "acknowledged", SortDescBy "created"]
|
||||
-- & defaultFilter (singletonMap "acknowledged" [toPathPiece False]) -- TODO: sorting with Nothing restores this filter
|
||||
over _1 postprocess <$> dbTable psValidator DBTable{..}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user