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…
Reference in New Issue