Fix bug in DB query in getTicketsR
This commit is contained in:
parent
6e2445a31f
commit
6fa0a9cb46
1 changed files with 2 additions and 1 deletions
|
@ -73,7 +73,8 @@ getTicketSummaries mfilt morder offlim jid = do
|
||||||
on $ t ^. TicketId ==. lt ^. LocalTicketTicket
|
on $ t ^. TicketId ==. lt ^. LocalTicketTicket
|
||||||
where_ $ tpl ^. TicketProjectLocalProject ==. val jid
|
where_ $ tpl ^. TicketProjectLocalProject ==. val jid
|
||||||
groupBy
|
groupBy
|
||||||
( t ^. TicketId, s ?. SharerId
|
( t ^. TicketId, lt ^. LocalTicketId
|
||||||
|
, s ?. SharerId
|
||||||
, ra ?. RemoteActorId, ro ?. RemoteObjectId, i ?. InstanceId
|
, ra ?. RemoteActorId, ro ?. RemoteObjectId, i ?. InstanceId
|
||||||
)
|
)
|
||||||
for_ mfilt $ \ filt -> where_ $ filt t
|
for_ mfilt $ \ filt -> where_ $ filt t
|
||||||
|
|
Loading…
Reference in a new issue