Fix query error in getTicketSummaries

This commit is contained in:
fr33domlover 2022-09-27 10:49:32 +00:00
parent 91d43e77b1
commit 587ae5e8cc

View file

@ -123,7 +123,7 @@ getTicketSummaries mfilt morder offlim deckID = do
E.where_ $ td E.^. TicketDeckDeck E.==. E.val deckID
E.groupBy
( t E.^. TicketId
( t E.^. TicketId, td E.^. TicketDeckId
, tal E.?. TicketAuthorLocalId, p E.?. PersonId, a E.?. ActorId
, ra E.?. RemoteActorId, ro E.?. RemoteObjectId, i E.?. InstanceId
)
@ -197,7 +197,7 @@ getClothSummaries mfilt morder offlim loomID = do
E.where_ $ tl E.^. TicketLoomLoom E.==. E.val loomID
E.groupBy
( t E.^. TicketId
( t E.^. TicketId, tl E.^. TicketLoomId
, tal E.?. TicketAuthorLocalId, p E.?. PersonId, a E.?. ActorId
, ra E.?. RemoteActorId, ro E.?. RemoteObjectId, i E.?. InstanceId
)