[icinga-checkins] icinga.org: icinga-web/jmosshammer/filtering: Change servicegroup group_by statement in service.xml

git at icinga.org git at icinga.org
Wed Jan 2 15:43:54 CET 2013


Module: icinga-web
Branch: jmosshammer/filtering
Commit: 478d9fb145e07a206e8890747debb97d607669b6
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=478d9fb145e07a206e8890747debb97d607669b6

Author: Jannis Mosshammer <jannis.mosshammer at netways.de>
Date:   Wed Dec 19 13:36:34 2012 +0100

Change servicegroup group_by statement in service.xml

---

 app/modules/Api/config/views/service.xml |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/app/modules/Api/config/views/service.xml b/app/modules/Api/config/views/service.xml
index 6f1c6ee..0d28ffc 100755
--- a/app/modules/Api/config/views/service.xml
+++ b/app/modules/Api/config/views/service.xml
@@ -98,14 +98,13 @@
                 <innerjoin>sg.object osg</innerjoin>
                 <select>osg.name1 AS servicegroup_name</select>
                 <groupby>s.service_object_id</groupby>
-                
             </filter>
 
             <filter name="servicegroup_object_id" type="dql">
                 <innerjoin>s.servicegroups sg</innerjoin>
                 <innerjoin>sg.object osg</innerjoin>
                 <select>osg.object_id AS servicegroup_object_id</select>
-                <groupby>h.host_object_id</groupby>
+                <groupby>h.service_object_id</groupby>
             </filter>
 
             <filter name="service_is_pending" type="dql">





More information about the icinga-checkins mailing list