IcingaObject: Fix listed applied Groups to show mixed apply/static
In case a group has been statically assigned to other object it would have been hidden. This should only affect UI and legacy rendering.
This commit is contained in:
parent
ff77aa9879
commit
a2f7ff03c1
|
@ -871,7 +871,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
|||
[]
|
||||
)->joinLeft(
|
||||
['go' => "icinga_${type}group_${type}"],
|
||||
"go.${type}group_id = gr.${type}group_id",
|
||||
"go.${type}group_id = gr.${type}group_id AND go.${type}_id = " . $this->id,
|
||||
[]
|
||||
)->where(
|
||||
"gr.${type}_id = ?",
|
||||
|
|
Loading…
Reference in New Issue