From e58c0a8e427115b4a8e6e56fd7efe13fc13a9eec Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Fri, 21 Aug 2015 11:18:30 +0200 Subject: [PATCH] monitoring: Apply restriction on contact groups before calling filterQuery which also handles format refs #9965 --- modules/monitoring/application/controllers/ListController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/monitoring/application/controllers/ListController.php b/modules/monitoring/application/controllers/ListController.php index 2c3f19d28..3abd50193 100644 --- a/modules/monitoring/application/controllers/ListController.php +++ b/modules/monitoring/application/controllers/ListController.php @@ -367,8 +367,8 @@ class Monitoring_ListController extends Controller 'contact_email', 'contact_pager' )); - $this->filterQuery($query); $this->applyRestriction('monitoring/filter/objects', $query); + $this->filterQuery($query); $this->setupSortControl(array( 'contactgroup_name' => $this->translate('Contactgroup Name'),