Module: check_mk
Branch: master
Commit: e47501ce17bd9b339347f2bd119d89956fe5611b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e47501ce17bd9b…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Tue Jan 12 19:41:16 2016 +0100
Fixed BI Rule edit link for the second time
---
web/plugins/wato/bi.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/plugins/wato/bi.py b/web/plugins/wato/bi.py
index d9260d7..6379005 100644
--- a/web/plugins/wato/bi.py
+++ b/web/plugins/wato/bi.py
@@ -651,7 +651,7 @@ class ModeBI(WatoMode):
def render_rule_tree(self, ruleid, tree_path):
rule = self._aggregation_rules[ruleid]
- edit_url = html.makeuri([("mode", "bi_edit_rule"),
("id", ruleid)])
+ edit_url = html.makeuri_contextless([("mode",
"bi_edit_rule"), ("id", ruleid)])
title = "%s (%s)" % (rule["title"], ruleid)
sub_rule_ids = self.aggregation_sub_rule_ids(rule)