DataView\Contactgroup: Adjust how to handle filter columns

refs #9029
This commit is contained in:
Johannes Meyer 2015-08-17 14:04:26 +02:00
parent 80b4d96e9f
commit 37b0b8bc84
1 changed files with 1 additions and 13 deletions

View File

@ -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',