Skip to content

Commit

Permalink
#1946 Fix countTask
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Apr 10, 2021
1 parent 213e303 commit 9112cc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thehive/app/org/thp/thehive/controllers/v1/TaskCtrl.scala
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ class TaskCtrl @Inject() (
(inCase, graph, authContext) =>
graph.indexCountQuery(
s"""v."_label":Task AND """ +
"v.relatedId:${inCase.caseId.value} AND " +
"v.organisationIds:${organisationSrv.currentId(graph, authContext).value} AND " +
s"v.relatedId:${inCase.caseId.value} AND " +
s"v.organisationIds:${organisationSrv.currentId(graph, authContext).value} AND " +
"NOT v.status:Cancel"
)
),
Expand Down

0 comments on commit 9112cc3

Please sign in to comment.