monitoring: Move instance_name from query to filter columns in the downtime data view
We don't select but filter for this column
This commit is contained in:
parent
30904056f1
commit
463fa45f20
|
@ -14,7 +14,6 @@ class Downtime extends DataView
|
||||||
public function getColumns()
|
public function getColumns()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
'instance_name',
|
|
||||||
'downtime_author_name',
|
'downtime_author_name',
|
||||||
'downtime_comment',
|
'downtime_comment',
|
||||||
'downtime_duration',
|
'downtime_duration',
|
||||||
|
@ -47,6 +46,7 @@ class Downtime extends DataView
|
||||||
'downtime_author',
|
'downtime_author',
|
||||||
'host', 'host_alias',
|
'host', 'host_alias',
|
||||||
'hostgroup', 'hostgroup_alias', 'hostgroup_name',
|
'hostgroup', 'hostgroup_alias', 'hostgroup_name',
|
||||||
|
'instance_name',
|
||||||
'service',
|
'service',
|
||||||
'servicegroup', 'servicegroup_alias', 'servicegroup_name'
|
'servicegroup', 'servicegroup_alias', 'servicegroup_name'
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue