From a51b93ebfba2fb461529c7c449affcbc5534177e Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 10 Apr 2015 12:17:52 +0200 Subject: [PATCH] DataView\Contactgroup: Do not permit querying case-insensitive columns refs #8163 --- .../library/Monitoring/DataView/Contactgroup.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/monitoring/library/Monitoring/DataView/Contactgroup.php b/modules/monitoring/library/Monitoring/DataView/Contactgroup.php index b55b6914a..cb5772e76 100644 --- a/modules/monitoring/library/Monitoring/DataView/Contactgroup.php +++ b/modules/monitoring/library/Monitoring/DataView/Contactgroup.php @@ -17,13 +17,9 @@ class Contactgroup extends DataView public function getColumns() { return array( - 'contact', 'contact_name', - 'contactgroup', 'contactgroup_name', 'contactgroup_alias', - 'host', - 'service' ); } @@ -43,4 +39,9 @@ class Contactgroup extends DataView ) ); } + + public function getFilterColumns() + { + return array('contactgroup', 'contact', 'host', 'service'); + } }