Permit to filter hosts and services by hostgroup_name and servicegroup_name
refs #8613
This commit is contained in:
parent
7d984665d6
commit
f7550f55c1
|
@ -113,7 +113,7 @@ class HostStatus extends DataView
|
|||
|
||||
public function getFilterColumns()
|
||||
{
|
||||
return array('host', 'hostgroup', 'service', 'servicegroup');
|
||||
return array('host', 'hostgroup', 'hostgroup_name', 'service', 'servicegroup', 'servicegroup_name');
|
||||
}
|
||||
|
||||
public function isValidFilterTarget($column)
|
||||
|
|
|
@ -163,7 +163,15 @@ class ServiceStatus extends DataView
|
|||
|
||||
public function getFilterColumns()
|
||||
{
|
||||
return array('host', 'hostgroup', 'service', 'service_host', 'servicegroup');
|
||||
return array(
|
||||
'host',
|
||||
'hostgroup',
|
||||
'hostgroup_name',
|
||||
'service',
|
||||
'service_host',
|
||||
'servicegroup',
|
||||
'servicegroup_name'
|
||||
);
|
||||
}
|
||||
|
||||
public function isValidFilterTarget($column)
|
||||
|
|
Loading…
Reference in New Issue