mirror of https://github.com/MISP/MISP
fix: [statistics] Local org flag fixed to show the correct count
parent
bd303874ca
commit
b9d69bc2e3
|
@ -268,7 +268,7 @@ class StatisticsShell extends AppShell {
|
|||
['conditions' => ['User.disabled' => 0], 'recursive' => -1]
|
||||
),
|
||||
'local_organisations' => $this->Organisation->find('count',
|
||||
['conditions' => ['Organisation.local' => 0], 'recursive' => -1]
|
||||
['conditions' => ['Organisation.local' => 1], 'recursive' => -1]
|
||||
),
|
||||
'external_organisations' => $this->Organisation->find('count',
|
||||
['conditions' => ['Organisation.local' => 0], 'recursive' => -1]
|
||||
|
|
Loading…
Reference in New Issue