monitoring/list/hosts: support addcolumns parameter
At least it doesn't fail right now, this only works for services so far. View script still needs to be adjusted, will probably be done with #6541.
This commit is contained in:
parent
f7d2bdbc78
commit
d5d3f5548f
|
@ -60,7 +60,7 @@ class Monitoring_ListController extends Controller
|
|||
$this->addTitleTab('hosts');
|
||||
$this->setAutorefreshInterval(10);
|
||||
$this->compactView = 'hosts-compact';
|
||||
$query = $this->backend->select()->from('hostStatus', array(
|
||||
$query = $this->backend->select()->from('hostStatus', array_merge(array(
|
||||
'host_icon_image',
|
||||
'host_name',
|
||||
'host_state',
|
||||
|
@ -82,7 +82,7 @@ class Monitoring_ListController extends Controller
|
|||
'host_passive_checks_enabled',
|
||||
'host_current_check_attempt',
|
||||
'host_max_check_attempts'
|
||||
));
|
||||
), $this->extraColumns()));
|
||||
|
||||
$this->applyFilters($query);
|
||||
|
||||
|
|
Loading…
Reference in New Issue