From 04100d13d3963ccaa35ad4442090f7b625b378cc Mon Sep 17 00:00:00 2001 From: iglocska Date: Tue, 9 Apr 2024 13:41:56 +0200 Subject: [PATCH] chg: [statistics] (R)etrieval (o)f (m)ember (m)etrics (e)valuation (l)ist (f)or (s)tatistics changed - will include soft deleted attributes too --- app/Console/Command/StatisticsShell.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Command/StatisticsShell.php b/app/Console/Command/StatisticsShell.php index 93ca39500..a3591b928 100644 --- a/app/Console/Command/StatisticsShell.php +++ b/app/Console/Command/StatisticsShell.php @@ -303,10 +303,10 @@ class StatisticsShell extends AppShell { $this->out(json_encode([ 'events' => $this->Event->find('count'), 'attributes' => $this->Event->Attribute->find('count', - ['conditions' => ['Attribute.deleted' => 0], 'recursive' => -1] + ['recursive' => -1] ), 'objects' => $this->Event->Object->find('count', - ['conditions' => ['Object.deleted' => 0], 'recursive' => -1] + ['recursive' => -1] ), 'correlations' => $this->Correlation->find('count') / 2, 'users' => $this->User->find('count',