mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +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');
|
return array('host', 'host_address', 'host_address6');
|
||||||
} else {
|
} else {
|
||||||
|
if ($this->connection->isIcinga2()) {
|
||||||
return array('host', 'host_display_name');
|
return array('host', 'host_display_name');
|
||||||
|
} else {
|
||||||
|
return array('host', 'host_display_name', 'host_alias');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user