Fix SQL error when selecting ticket summaries
This commit is contained in:
parent
7a96d904f3
commit
0031801a74
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ getTicketSummaries mfilt morder jid = fmap (map toSummary) $ select $ from $
|
||||||
where_ $ t ^. TicketProject ==. val jid
|
where_ $ t ^. TicketProject ==. val jid
|
||||||
groupBy
|
groupBy
|
||||||
( t ^. TicketId, s ?. SharerId
|
( t ^. TicketId, s ?. SharerId
|
||||||
, ra ?. RemoteActorId, i ?. InstanceId
|
, ra ?. RemoteActorId, ro ?. RemoteObjectId, i ?. InstanceId
|
||||||
)
|
)
|
||||||
for_ mfilt $ \ filt -> where_ $ filt t
|
for_ mfilt $ \ filt -> where_ $ filt t
|
||||||
for_ morder $ \ order -> orderBy $ order t
|
for_ morder $ \ order -> orderBy $ order t
|
||||||
|
|
Loading…
Reference in a new issue