[icinga-checkins] icinga.org: icinga-web/master: Fixed issue in service detail view when having cv credentials

git at icinga.org git at icinga.org
Wed Oct 10 14:41:17 CEST 2012


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

Author: Jannis Mosshammer <jannis.mosshammer at netways.de>
Date:   Wed Oct 10 14:40:48 2012 +0200

Fixed issue in service detail view when having cv credentials

---

 .../LegacyLayer/TargetModifierModel.class.php      |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/app/modules/Api/models/Store/LegacyLayer/TargetModifierModel.class.php b/app/modules/Api/models/Store/LegacyLayer/TargetModifierModel.class.php
index 5bc32e9..86beea5 100755
--- a/app/modules/Api/models/Store/LegacyLayer/TargetModifierModel.class.php
+++ b/app/modules/Api/models/Store/LegacyLayer/TargetModifierModel.class.php
@@ -468,8 +468,8 @@ class Api_Store_LegacyLayer_TargetModifierModel extends IcingaStoreTargetModifie
                         "oh" => array("src" => "h","relation" => "object", "type"=>"left"),
                         /*                                       "hcg" => array("src" => "h", "relation" => "contactgroups"),
                                        "hcgm" => array("src" => "h", "relation" => "contacts"),*/
-                        "cg" => array("src" => "s", "relation" => "contactgroups"),
-                        "cgm" => array("src"=> "cg", "relation" => "members"),
+                        "cg" => array("src" => "s", "relation" => "contactgroups", "type"=>"left"),
+                        "cgm" => array("src"=> "cg", "relation" => "members", "type"=>"left"),
                         "cvsh"=> array("src" => "s","relation" => "customvariablestatus", "type"=>"left"),
                         "cvsc"=> array("src" => "cgm","relation" => "customvariablestatus", "type"=>"left"),
                         "ss" => array("src" => "s","relation" => "status","alwaysJoin" => true, "type"=>"left"),
@@ -489,14 +489,14 @@ class Api_Store_LegacyLayer_TargetModifierModel extends IcingaStoreTargetModifie
                                 "relation" => "object",
                                 "type"=>"left"
                         ),
-                        "oc"  => array("src" => "cgm","relation" => "object"),
+                        "oc"  => array("src" => "cgm","relation" => "object", "type"=>"left"),
                         "ocg"  => array("src" => "cg","relation" => "object"),
                         "hg"  => array("src" => "h", "relation" => "hostgroups", "type"=>"left"),
                         "hgm" => array("src" => "hg","relation" => "members", "type"=>"left"),
-                        "ohg" => array("src" => "hg","relation" => "object"),
-                        "cvsh" => array("src" => "h","relation"=> "customvariablestatus"),
-                        "cvss"=> array("src" => "s","relation" => "customvariablestatus"),
-                        "cvsc"=> array("src" => "cgm","relation" => "customvariablestatus")
+                        "ohg" => array("src" => "hg","relation" => "object", "type"=>"left"),
+                        "cvsh" => array("src" => "h","relation"=> "customvariablestatus", "type"=>"left"),
+                        "cvss"=> array("src" => "s","relation" => "customvariablestatus", "type"=>"left"),
+                        "cvsc"=> array("src" => "cgm","relation" => "customvariablestatus", "type"=>"left")
                 );
                 break;
 





More information about the icinga-checkins mailing list