DataView\Contact: Make `instance_name` a static filter column

It's not queryable by its accompaniying query.

refs #3088
This commit is contained in:
Johannes Meyer 2018-07-17 09:46:02 +02:00 committed by Eric Lippmann
parent e684c6d18e
commit 2fbbf3da58
1 changed files with 1 additions and 2 deletions

View File

@ -11,7 +11,6 @@ class Contact extends DataView
public function getColumns() public function getColumns()
{ {
return array( return array(
'instance_name',
'contact_object_id', 'contact_object_id',
'contact_id', 'contact_id',
'contact_name', 'contact_name',
@ -55,7 +54,7 @@ class Contact extends DataView
public function getStaticFilterColumns() public function getStaticFilterColumns()
{ {
return array( return array(
'contact', 'contact', 'instance_name',
'contactgroup', 'contactgroup_name', 'contactgroup_alias', 'contactgroup', 'contactgroup_name', 'contactgroup_alias',
'host', 'host_name', 'host_display_name', 'host_alias', 'host', 'host_name', 'host_display_name', 'host_alias',
'hostgroup', 'hostgroup_alias', 'hostgroup_name', 'hostgroup', 'hostgroup_alias', 'hostgroup_name',