mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
Add host_alias to search columns if backend is icinga 1
This commit is contained in:
parent
09ef6d8f2a
commit
c831bc5232
@ -89,7 +89,11 @@ class HostStatus extends DataView
|
||||
) {
|
||||
return array('host', 'host_address', 'host_address6');
|
||||
} else {
|
||||
return array('host', 'host_display_name');
|
||||
if ($this->connection->isIcinga2()) {
|
||||
return array('host', 'host_display_name');
|
||||
} else {
|
||||
return array('host', 'host_display_name', 'host_alias');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user