monitoring: Apply restriction on service groups before calling filterQuery which also handles format

refs #9965
This commit is contained in:
Eric Lippmann 2015-08-21 11:19:31 +02:00
parent 9dd13d2a82
commit 3dc140b125
1 changed files with 1 additions and 3 deletions

View File

@ -464,10 +464,8 @@ class Monitoring_ListController extends Controller
'services_warning_last_state_change_unhandled' => 'services_warning_unhandled_last_state_change',
'services_warning_unhandled'
));
$this->filterQuery($query);
$this->applyRestriction('monitoring/filter/objects', $query);
$this->filterQuery($query);
$this->view->servicegroups = $query;
$this->setupLimitControl();