Fix query error in getTicketSummaries
This commit is contained in:
parent
91d43e77b1
commit
587ae5e8cc
1 changed files with 2 additions and 2 deletions
|
@ -123,7 +123,7 @@ getTicketSummaries mfilt morder offlim deckID = do
|
||||||
|
|
||||||
E.where_ $ td E.^. TicketDeckDeck E.==. E.val deckID
|
E.where_ $ td E.^. TicketDeckDeck E.==. E.val deckID
|
||||||
E.groupBy
|
E.groupBy
|
||||||
( t E.^. TicketId
|
( t E.^. TicketId, td E.^. TicketDeckId
|
||||||
, tal E.?. TicketAuthorLocalId, p E.?. PersonId, a E.?. ActorId
|
, tal E.?. TicketAuthorLocalId, p E.?. PersonId, a E.?. ActorId
|
||||||
, ra E.?. RemoteActorId, ro E.?. RemoteObjectId, i E.?. InstanceId
|
, 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.where_ $ tl E.^. TicketLoomLoom E.==. E.val loomID
|
||||||
E.groupBy
|
E.groupBy
|
||||||
( t E.^. TicketId
|
( t E.^. TicketId, tl E.^. TicketLoomId
|
||||||
, tal E.?. TicketAuthorLocalId, p E.?. PersonId, a E.?. ActorId
|
, tal E.?. TicketAuthorLocalId, p E.?. PersonId, a E.?. ActorId
|
||||||
, ra E.?. RemoteActorId, ro E.?. RemoteObjectId, i E.?. InstanceId
|
, ra E.?. RemoteActorId, ro E.?. RemoteObjectId, i E.?. InstanceId
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue