mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +02:00
Service Status: Fix filter by hostgroup throwing an exception
fixes #4747
This commit is contained in:
parent
f8938b34a4
commit
103a4dbe91
@ -286,7 +286,11 @@ class StatusQuery extends AbstractQuery
|
|||||||
array()
|
array()
|
||||||
)->join(
|
)->join(
|
||||||
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()
|
||||||
|
)->join(
|
||||||
|
array('hgo' => $this->prefix . 'objects'),
|
||||||
|
'hgo.' . $this->object_id . ' = hg.hostgroup_object_id AND hgo.is_active = 1',
|
||||||
array()
|
array()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user