1
0
Fork 0
mirror of https://code.sup39.dev/repos/Wqawg synced 2025-01-15 02:35:10 +09:00

UI: When selecting ticket dep, display the list sorted by ticket number

This commit is contained in:
fr33domlover 2020-01-03 18:42:29 +00:00
parent 878e8f4056
commit 64cf836b47

View file

@ -70,5 +70,5 @@ selectTicketDep jid tid =
checkDep tid $
checkNotSelf tid $
selectField $
optionsPersistKey [TicketProject P.==. jid, TicketId P.!=. tid] [] $
optionsPersistKey [TicketProject P.==. jid, TicketId P.!=. tid] [P.Asc TicketNumber] $
\ t -> sformat (int % " :: " % stext) (ticketNumber t) (ticketTitle t)