mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-29 01:24:51 +09:00
Group by sharer ID too, hopefully this time it's enough
This commit is contained in:
parent
4386e0f8af
commit
47a9e0b5a0
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ getTicketSummaries mfilt morder jid = do
|
||||||
on $ p ^. PersonIdent ==. s ^. SharerId
|
on $ p ^. PersonIdent ==. s ^. SharerId
|
||||||
on $ t ^. TicketCreator ==. p ^. PersonId
|
on $ t ^. TicketCreator ==. p ^. PersonId
|
||||||
where_ $ t ^. TicketProject ==. val jid
|
where_ $ t ^. TicketProject ==. val jid
|
||||||
groupBy $ t ^. TicketId
|
groupBy (t ^. TicketId, s ^. SharerId)
|
||||||
for_ mfilt $ \ filt -> where_ $ filt t
|
for_ mfilt $ \ filt -> where_ $ filt t
|
||||||
for_ morder $ \ order -> orderBy $ order t
|
for_ morder $ \ order -> orderBy $ order t
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue