monitoring: Apply restriction on comments before calling filterQuery which also handles format
refs #9965
This commit is contained in:
parent
e58c0a8e42
commit
9dd13d2a82
|
@ -411,10 +411,8 @@ class Monitoring_ListController extends Controller
|
||||||
'host_display_name',
|
'host_display_name',
|
||||||
'service_display_name'
|
'service_display_name'
|
||||||
));
|
));
|
||||||
$this->filterQuery($query);
|
|
||||||
|
|
||||||
$this->applyRestriction('monitoring/filter/objects', $query);
|
$this->applyRestriction('monitoring/filter/objects', $query);
|
||||||
|
$this->filterQuery($query):
|
||||||
$this->view->comments = $query;
|
$this->view->comments = $query;
|
||||||
|
|
||||||
$this->setupLimitControl();
|
$this->setupLimitControl();
|
||||||
|
|
Loading…
Reference in New Issue