monitoring: Apply restriction on host groups before calling filterQuery which also handles format
refs #9965
This commit is contained in:
parent
3dc140b125
commit
4c68b4a017
|
@ -508,10 +508,8 @@ class Monitoring_ListController extends Controller
|
|||
'services_warning_handled',
|
||||
'services_warning_unhandled'
|
||||
));
|
||||
$this->filterQuery($query);
|
||||
|
||||
$this->applyRestriction('monitoring/filter/objects', $query);
|
||||
|
||||
$this->filterQuery($query);
|
||||
$this->view->hostgroups = $query;
|
||||
|
||||
$this->setupLimitControl();
|
||||
|
|
Loading…
Reference in New Issue