DataView\Hostgroupsummary: Adjust how to handle filter columns

refs #9029
This commit is contained in:
Johannes Meyer 2015-08-17 14:05:37 +02:00
parent 9f8de333ec
commit 25acebab77
1 changed files with 1 additions and 15 deletions

View File

@ -44,7 +44,7 @@ class Hostgroupsummary extends DataView
/**
* {@inheritdoc}
*/
public function getFilterColumns()
public function getStaticFilterColumns()
{
return array(
'hosts_severity',
@ -95,18 +95,4 @@ class Hostgroupsummary extends DataView
)
);
}
/**
* {@inheritdoc}
*/
public function isValidFilterTarget($column)
{
if ($column[0] === '_'
&& preg_match('/^_(?:host|service)_/', $column)
) {
return true;
} else {
return parent::isValidFilterTarget($column);
}
}
}