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

refs #9965
This commit is contained in:
Eric Lippmann 2015-08-21 11:17:44 +02:00
parent d463a86304
commit 959cff4d10
1 changed files with 1 additions and 1 deletions

View File

@ -295,8 +295,8 @@ class Monitoring_ListController extends Controller
'contact_notify_service_timeperiod',
'contact_notify_host_timeperiod'
));
$this->filterQuery($query);
$this->applyRestriction('monitoring/filter/objects', $query);
$this->filterQuery($query);
$this->view->contacts = $query;
$this->setupLimitControl();