mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 14:54:24 +02:00
hgo.name1 needs objects table to be around
This commit is contained in:
parent
93e54fac62
commit
76ecc9184d
@ -184,6 +184,11 @@ class HoststatusQuery extends AbstractQuery
|
|||||||
array('hg' => $this->prefix . 'hostgroups'),
|
array('hg' => $this->prefix . 'hostgroups'),
|
||||||
"hgm.hostgroup_id = hg.$this->hostgroup_id",
|
"hgm.hostgroup_id = hg.$this->hostgroup_id",
|
||||||
array()
|
array()
|
||||||
|
)->join(
|
||||||
|
array('hgo' => $this->prefix . 'objects'),
|
||||||
|
'hgo.' . $this->object_id. ' = hg.hostgroup_object_id'
|
||||||
|
. ' AND hgo.is_active = 1',
|
||||||
|
array()
|
||||||
);
|
);
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user