Module: check_mk
Branch: master
Commit: 8cc02ec6bc286cde27a0e858e8f1b00bb25069d0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8cc02ec6bc286c…
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
Conflicts:
ChangeLog
---
ChangeLog | 4 ++++
web/plugins/views/bi.py | 3 ++-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 0ade006..084289d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
1.2.3i1:
+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 843a4a1..36bbb5d 100644
--- a/web/plugins/views/bi.py
+++ b/web/plugins/views/bi.py
@@ -283,7 +283,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),
}
# _____ _ _ _