[icinga-checkins] icinga.org: icinga-web/master: OpenProblems bug when restricted to Hostgroup credential

git at icinga.org git at icinga.org
Fri Oct 19 12:19:57 CEST 2012


Module: icinga-web
Branch: master
Commit: 9e70b2ea44b803d2afeeae3cb34b3625622c7f0d
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=9e70b2ea44b803d2afeeae3cb34b3625622c7f0d

Author: Marius Hein <marius.hein at netways.de>
Date:   Mon Jul 16 10:22:51 2012 +0200

OpenProblems bug when restricted to Hostgroup credential

fixes #2857

---

 app/modules/Api/config/views/host.xml |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/app/modules/Api/config/views/host.xml b/app/modules/Api/config/views/host.xml
index f289d40..39a4934 100644
--- a/app/modules/Api/config/views/host.xml
+++ b/app/modules/Api/config/views/host.xml
@@ -199,7 +199,12 @@
 -
             <credential name="IcingaHostgroup" type="dql">
                 <leftjoin>h.hostgroups hg</leftjoin>
-                <leftjoin>s.host sh</leftjoin>
+                
+                <!-- 
+                    Duplicate alias, fixes bug #2857
+                -->
+                <!-- <leftjoin>s.host sh</leftjoin> -->
+                
                 <leftjoin>sh.hostgroups shg</leftjoin>
                 <leftjoin>hg.object ohg</leftjoin>
                 <leftjoin>shg.object sohg</leftjoin>





More information about the icinga-checkins mailing list