Skip to content

Commit

Permalink
chg: [statistics] (R)etrieval (o)f (m)ember (m)etrics (e)valuation (l…
Browse files Browse the repository at this point in the history
…)ist (f)or (s)tatistics changed

- will include soft deleted attributes too
  • Loading branch information
iglocska committed Apr 9, 2024
1 parent ef17beb commit 04100d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Console/Command/StatisticsShell.php
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,10 @@ public function rommelfs()
$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',
Expand Down

0 comments on commit 04100d1

Please sign in to comment.