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

refs #9965
This commit is contained in:
Eric Lippmann 2015-08-21 11:16:02 +02:00
parent 4aa0af5dca
commit 5d325f3182
1 changed files with 1 additions and 2 deletions

View File

@ -224,9 +224,8 @@ class Monitoring_ListController extends Controller
'host_display_name',
'service_display_name'
));
$this->filterQuery($query);
$this->applyRestriction('monitoring/filter/objects', $query);
$this->filterQuery($query);
$this->view->downtimes = $query;