DataView\Notification: Adjust how to handle filter columns

refs #9029
This commit is contained in:
Johannes Meyer 2015-08-17 14:05:56 +02:00
parent ebbc2686c8
commit 5d2c389220
1 changed files with 1 additions and 16 deletions

View File

@ -8,21 +8,6 @@ class Notification 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(
@ -74,7 +59,7 @@ class Notification extends DataView
/**
* {@inheritdoc}
*/
public function getFilterColumns()
public function getStaticFilterColumns()
{
return array(
'contact',