DataView\Eventhistory: Adjust how to handle filter columns

refs #9029
This commit is contained in:
Johannes Meyer 2015-08-17 14:04:59 +02:00
parent 31d67d8479
commit 03a80b3e44
1 changed files with 1 additions and 15 deletions

View File

@ -8,20 +8,6 @@ class EventHistory extends DataView
/**
* {@inheritdoc}
*/
public function isValidFilterTarget($column)
{
if ($column[0] === '_' && preg_match('/^_(?:host|service)_/', $column)) {
return true;
}
return parent::isValidFilterTarget($column);
}
/**
* Retrieve columns provided by this view
*
* @return array
*/
public function getColumns()
{
return array(
@ -57,7 +43,7 @@ class EventHistory extends DataView
/**
* {@inheritdoc}
*/
public function getFilterColumns()
public function getStaticFilterColumns()
{
return array(
'host', 'host_alias',