Module: check_mk
Branch: master
Commit: 8efce75a988b71e998666e7d41e62ff23897537e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8efce75a988b71…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Aug 15 11:16:48 2011 +0200
BI: fix aggr_service filter for non-ASCII services
---
web/htdocs/bi.py | 1 +
web/plugins/views/bi.py | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/bi.py b/web/htdocs/bi.py
index dc8b211..83d2c4b 100644
--- a/web/htdocs/bi.py
+++ b/web/htdocs/bi.py
@@ -227,6 +227,7 @@ def compile_forest(user):
g_cache[user] = cache
+
# Execute an aggregation rule, but prepare arguments
# and iterate FOREACH first
def compile_rule_node(calllist, lvl):
diff --git a/web/plugins/views/bi.py b/web/plugins/views/bi.py
index 8705dae..dcab308 100644
--- a/web/plugins/views/bi.py
+++ b/web/plugins/views/bi.py
@@ -485,10 +485,10 @@ class BIServiceFilter(Filter):
html.text_input("service")
def heading_info(self, infoname):
- return html.var("host") + " / " +
html.var("service")
+ return html.var_utf8("host") + " / " +
html.var_utf8("service")
def service_spec(self):
- return html.var("site"), html.var("host"),
html.var("service")
+ return html.var_utf8("site"), html.var_utf8("host"),
html.var_utf8("service")
# Used for linking
def variable_settings(self, row):