mirror of https://github.com/MISP/MISP
fix: Object could not be added with no full group by enabled, fixes #4195
parent
f6467f39f9
commit
98cf493611
|
@ -21,7 +21,7 @@ class ObjectTemplatesController extends AppController
|
|||
$metas = $this->ObjectTemplate->find('list', array(
|
||||
'recursive' => -1,
|
||||
'conditions' => array('ObjectTemplate.active' => 1),
|
||||
'fields' => array('meta-category'),
|
||||
'fields' => array('meta-category', 'meta-category'),
|
||||
'group' => array('ObjectTemplate.meta-category'),
|
||||
'order' => array('ObjectTemplate.meta-category asc')
|
||||
));
|
||||
|
|
Loading…
Reference in New Issue