mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-05-03 06:10:18 +02:00
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()
|
public function getFilterColumns()
|
||||||
{
|
{
|
||||||
return array('host', 'hostgroup', 'service', 'servicegroup');
|
return array('host', 'hostgroup', 'hostgroup_name', 'service', 'servicegroup', 'servicegroup_name');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function isValidFilterTarget($column)
|
public function isValidFilterTarget($column)
|
||||||
|
@ -163,7 +163,15 @@ class ServiceStatus extends DataView
|
|||||||
|
|
||||||
public function getFilterColumns()
|
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)
|
public function isValidFilterTarget($column)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user