DataView\Contact: Make `instance_name` a static filter column
It's not queryable by its accompaniying query. refs #3088
This commit is contained in:
parent
e684c6d18e
commit
2fbbf3da58
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue