parent
31d67d8479
commit
03a80b3e44
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue