[icinga-checkins] icinga.org: icingaweb2/bugfix/ show-all-usergroups-in-the-web-interface-11744: list/contactgroups: show empty usergroups, too

git at icinga.org git at icinga.org
Tue May 31 17:52:20 CEST 2016


Module: icingaweb2
Branch: bugfix/show-all-usergroups-in-the-web-interface-11744
Commit: df66f49c443b7c491e8a92d43d780984773f20e4
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=df66f49c443b7c491e8a92d43d780984773f20e4

Author: Alexander A. Klimov <alexander.klimov at netways.de>
Date:   Tue May 31 17:50:49 2016 +0200

list/contactgroups: show empty usergroups, too

refs #11744

---

 .../library/Monitoring/Backend/Ido/Query/ContactgroupQuery.php       |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/ContactgroupQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/ContactgroupQuery.php
index af665cb..f45c21e 100644
--- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/ContactgroupQuery.php
+++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/ContactgroupQuery.php
@@ -87,7 +87,7 @@ class ContactgroupQuery extends IdoQuery
             array('cgm' => $this->prefix . 'contactgroup_members'),
             'cgm.contactgroup_id = cg.contactgroup_id',
             array()
-        )->join(
+        )->joinLeft(
             array('co' => $this->prefix . 'objects'),
             'co.object_id = cgm.contact_object_id AND co.is_active = 1 AND co.objecttype_id = 10',
             array()



More information about the icinga-checkins mailing list