monitoring: Provide downtime_author only as filter column

refs #9009
This commit is contained in:
Eric Lippmann 2015-05-29 15:36:42 +02:00
parent 16ab26cb7c
commit 41bc4e3b21
1 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,9 @@
namespace Icinga\Module\Monitoring\DataView;
/**
* Host and service downtimes view
*/
class Downtime extends DataView
{
/**
@ -24,7 +27,6 @@ class Downtime extends DataView
public function getColumns()
{
return array(
'downtime_author',
'downtime_author_name',
'downtime_comment',
'downtime_duration',
@ -52,6 +54,7 @@ class Downtime extends DataView
public function getFilterColumns()
{
return array(
'downtime_author',
'host', 'hostgroup', 'hostgroup_alias', 'hostgroup_name',
'service', 'servicegroup', 'servicegroup_alias', 'servicegroup_name'
);