Fix SQL error when selecting ticket summaries

This commit is contained in:
fr33domlover 2019-11-07 10:45:44 +00:00
parent 7a96d904f3
commit 0031801a74

View file

@ -64,7 +64,7 @@ getTicketSummaries mfilt morder jid = fmap (map toSummary) $ select $ from $
where_ $ t ^. TicketProject ==. val jid
groupBy
( t ^. TicketId, s ?. SharerId
, ra ?. RemoteActorId, i ?. InstanceId
, ra ?. RemoteActorId, ro ?. RemoteObjectId, i ?. InstanceId
)
for_ mfilt $ \ filt -> where_ $ filt t
for_ morder $ \ order -> orderBy $ order t