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

refs #9965
This commit is contained in:
Eric Lippmann 2015-08-21 11:20:56 +02:00
parent 4c68b4a017
commit de00a1998e

View File

@ -564,8 +564,8 @@ class Monitoring_ListController extends Controller
'service_output',
'service_handled'
));
$this->filterQuery($query);
$this->applyRestriction('monitoring/filter/objects', $query);
$this->filterQuery($query);
$this->setupSortControl(array(
'host_name' => $this->translate('Hostname'),
'service_description' => $this->translate('Service description')