monitoring: Apply restriction on downtimes before calling filterQuery which also handles format
refs #9965
This commit is contained in:
parent
4aa0af5dca
commit
5d325f3182
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue