diff --git a/modules/monitoring/library/Monitoring/DataView/Contactgroup.php b/modules/monitoring/library/Monitoring/DataView/Contactgroup.php index 8560b55fb..fa1c9b863 100644 --- a/modules/monitoring/library/Monitoring/DataView/Contactgroup.php +++ b/modules/monitoring/library/Monitoring/DataView/Contactgroup.php @@ -5,18 +5,6 @@ namespace Icinga\Module\Monitoring\DataView; class Contactgroup extends DataView { - /** - * {@inheritdoc} - */ - public function isValidFilterTarget($column) - { - if ($column[0] === '_' && preg_match('/^_(?:host|service)_/', $column)) { - return true; - } - - return parent::isValidFilterTarget($column); - } - /** * {@inheritdoc} */ @@ -68,7 +56,7 @@ class Contactgroup extends DataView /** * {@inheritdoc} */ - public function getFilterColumns() + public function getStaticFilterColumns() { return array( 'contactgroup', 'contact',