Module: check_mk
Branch: master
Commit: df885345b8e248e8e7a6d7e3ad9cdc5296f2c6ff
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=df885345b8e248…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Mar 1 12:20:57 2013 +0100
BI: FIX: top-down and bottom-up was broken in case of "only problems"
---
ChangeLog | 1 +
web/plugins/views/bi.py | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 1e04ed6..d9f3ade 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -90,6 +90,7 @@
* FIX: fix style of mouse pointer over BI boxes
* FIX: list of BI aggregates was incomplete in some cases
* FIX: single host aggregations didn't work for aggregations += [...]
+ * FIX: top-down and bottom-up was broken in case of "only problems"
* Make titles of non-leaf tree nodes klickable
WATO:
diff --git a/web/plugins/views/bi.py b/web/plugins/views/bi.py
index 1afe686..d4ad8e6 100644
--- a/web/plugins/views/bi.py
+++ b/web/plugins/views/bi.py
@@ -232,7 +232,7 @@ def paint_aggr_tree_ltr(row, mirror):
tree = row["aggr_treestate"]
if get_painter_option("aggr_onlyproblems") == "1":
- tree = filter_tree_only_problems(tree)
+ tree = bi.filter_tree_only_problems(tree)
depth = bi.status_tree_depth(tree)
leaves = gen_table(tree, depth, row["aggr_hosts"] > 1)
h = '<table class="aggrtree ltr">'