Module: check_mk
Branch: master
Commit: 923dc764b96773b610b1197f8cbf7c23999c0571
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=923dc764b96773…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Feb 11 22:10:37 2013 +0100
FIX: fix exception in BI-Boxes views of host groups
---
ChangeLog | 4 ++++
web/plugins/views/bi.py | 3 ++-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 77cc286..f7d89d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1.2.2b2:
+ BI:
+ * FIX: fix exception in BI-Boxes views of host groups
+
1.2.2b1:
Core:
* cmk --notify: added notification script to generate HTML mails including
diff --git a/web/plugins/views/bi.py b/web/plugins/views/bi.py
index 00773f7..49ae780 100644
--- a/web/plugins/views/bi.py
+++ b/web/plugins/views/bi.py
@@ -262,7 +262,8 @@ multisite_painters["aggr_treestate_boxed"] = {
"title" : _("Aggregation: simplistic boxed layout"),
"short" : _("Tree"),
"columns" : [ "aggr_treestate", "aggr_hosts" ],
- "paint" : lambda row: paint_aggr_tree_foldable(row, boxes = True,
omit_root = True),
+ "paint" : lambda row: bi.render_tree_foldable(row, boxes=True,
omit_root=True,
+ expansion_level=bi.load_ex_level(), only_problems=False, lazy=True),
}
# _____ _ _ _