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

refs #9965
This commit is contained in:
Eric Lippmann 2015-08-21 11:19:00 +02:00
parent e58c0a8e42
commit 9dd13d2a82
1 changed files with 1 additions and 3 deletions

View File

@ -411,10 +411,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->comments = $query;
$this->setupLimitControl();