From 02e6ef733b749d402a71a224809a7ae01f609642 Mon Sep 17 00:00:00 2001 From: To-om Date: Wed, 17 Feb 2021 09:18:29 +0100 Subject: [PATCH] #1731 Fix share filter --- ScalliGraph | 2 +- thehive/app/org/thp/thehive/controllers/v0/ShareCtrl.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ScalliGraph b/ScalliGraph index 24872e76d4..0290c28ebc 160000 --- a/ScalliGraph +++ b/ScalliGraph @@ -1 +1 @@ -Subproject commit 24872e76d4b24fea63fdf313b9e1fc655068a5f3 +Subproject commit 0290c28ebcdd234fad522db738effdb097e5c02f diff --git a/thehive/app/org/thp/thehive/controllers/v0/ShareCtrl.scala b/thehive/app/org/thp/thehive/controllers/v0/ShareCtrl.scala index 777f402e2d..e9d8dcd7a5 100644 --- a/thehive/app/org/thp/thehive/controllers/v0/ShareCtrl.scala +++ b/thehive/app/org/thp/thehive/controllers/v0/ShareCtrl.scala @@ -175,7 +175,7 @@ class ShareCtrl @Inject() ( .get(EntityIdOrName(caseId)) .shares .visible - .filterNot(_.get(request.organisation)) + .filterNot(_.organisation.current) .richShare .toSeq