From 42d9f05c0f8661bac9392fc9c72e46223aec0461 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Fri, 29 May 2015 15:39:41 +0200 Subject: [PATCH] monitoring: Apply host and service restrctions to the comments overview refs #9009 --- modules/monitoring/application/controllers/ListController.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/monitoring/application/controllers/ListController.php b/modules/monitoring/application/controllers/ListController.php index 1a3733a7a..fa9c25546 100644 --- a/modules/monitoring/application/controllers/ListController.php +++ b/modules/monitoring/application/controllers/ListController.php @@ -444,6 +444,9 @@ class Monitoring_ListController extends Controller 'service_display_name' )); $this->filterQuery($query); + + $this->applyRestriction('monitoring/filter/objects', $query); + $this->view->comments = $query; $this->setupLimitControl();