mirror of https://github.com/MISP/MISP
Merge pull request #8412 from righel/reduce-attributes-restsearch-memory-tags-filter
fix: do not fetch tag related entitiespull/8417/head
commit
aef24f2bd5
|
@ -293,7 +293,7 @@ class Tag extends AppModel
|
|||
$conditions[] = array('Tag.name LIKE' => $tagName);
|
||||
}
|
||||
$result = $this->find('column', array(
|
||||
'recursive' => 1,
|
||||
'recursive' => -1,
|
||||
'conditions' => ['OR' => $conditions],
|
||||
'fields' => array('Tag.id')
|
||||
));
|
||||
|
|
Loading…
Reference in New Issue