From ef17beb59db7ee5f64b8d696e6734648dd0a2298 Mon Sep 17 00:00:00 2001 From: iglocska Date: Mon, 8 Apr 2024 10:33:15 +0200 Subject: [PATCH] fix: [status widget] ignore index hint for deleted field --- app/Lib/Dashboard/UsageDataWidget.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Lib/Dashboard/UsageDataWidget.php b/app/Lib/Dashboard/UsageDataWidget.php index 2a48424f6..33e337be6 100644 --- a/app/Lib/Dashboard/UsageDataWidget.php +++ b/app/Lib/Dashboard/UsageDataWidget.php @@ -243,7 +243,8 @@ class UsageDataWidget $count = $this->Event->Attribute->find('count', [ 'conditions' => $conditions, 'contain' => ['Event'], - 'recursive' => -1 + 'recursive' => -1, + 'ignoreIndexHint' => 'deleted' ]); $this->redis->setEx('misp:dashboard:attribute_count:' . $hash, 3600, $count); }