mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 06:44:33 +02:00
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_handled',
|
||||||
'services_warning_unhandled'
|
'services_warning_unhandled'
|
||||||
));
|
));
|
||||||
$this->filterQuery($query);
|
|
||||||
|
|
||||||
$this->applyRestriction('monitoring/filter/objects', $query);
|
$this->applyRestriction('monitoring/filter/objects', $query);
|
||||||
|
$this->filterQuery($query);
|
||||||
$this->view->hostgroups = $query;
|
$this->view->hostgroups = $query;
|
||||||
|
|
||||||
$this->setupLimitControl();
|
$this->setupLimitControl();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user