mirror of https://github.com/MISP/MISP
chg: [server sync] update to the previous fix to include the recursive condition
- instead of just replacing the condition with the contain list, include both to get the performance gains backpull/8277/head
parent
7b13a1770b
commit
6cc19478d4
|
@ -4429,6 +4429,7 @@ class Event extends AppModel
|
|||
}
|
||||
$servers = $this->Server->find('all', [
|
||||
'conditions' => $conditions,
|
||||
'recursive' => -1,
|
||||
'contain' => ['RemoteOrg', 'Organisation'],
|
||||
'order' => ['Server.priority ASC', 'Server.id ASC'],
|
||||
]);
|
||||
|
|
Loading…
Reference in New Issue