fix: Enable sharing group filter for Event controller not just attribute

pull/8292/head
Tom King 2022-04-21 11:16:26 +01:00
parent ddd41560e0
commit d3f2dc07c8
1 changed files with 4 additions and 2 deletions

View File

@ -1465,7 +1465,8 @@ class Event extends AppModel
'org' => array('function' => 'set_filter_org', 'pop' => true),
'uuid' => array('function' => 'set_filter_uuid', 'pop' => true),
'published' => array('function' => 'set_filter_published', 'pop' => true),
'threat_level_id' => array('function' => 'set_filter_threat_level_id', 'pop' => true)
'threat_level_id' => array('function' => 'set_filter_threat_level_id', 'pop' => true),
'sharinggroup' => array('function' => 'set_filter_sharing_group')
),
'Object' => array(
'object_name' => array('function' => 'set_filter_object_name'),
@ -1482,7 +1483,8 @@ class Event extends AppModel
'ignore' => array('function' => 'set_filter_ignore'),
'deleted' => array('function' => 'set_filter_deleted'),
'to_ids' => array('function' => 'set_filter_to_ids'),
'comment' => array('function' => 'set_filter_comment')
'comment' => array('function' => 'set_filter_comment'),
'sharinggroup' => array('function' => 'set_filter_sharing_group')
)
);
foreach ($params as $param => $paramData) {