monitoring: Move instance_name from query to filter columns in the comment data view
We don't select but filter for this column.
This commit is contained in:
parent
463fa45f20
commit
747c6f9b0b
|
@ -14,7 +14,6 @@ class Comment extends DataView
|
||||||
public function getColumns()
|
public function getColumns()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
'instance_name',
|
|
||||||
'comment_author_name',
|
'comment_author_name',
|
||||||
'comment_data',
|
'comment_data',
|
||||||
'comment_expiration',
|
'comment_expiration',
|
||||||
|
@ -40,6 +39,7 @@ class Comment extends DataView
|
||||||
'comment_author',
|
'comment_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