Module: check_mk
Branch: master
Commit: 25e08e01f3d799aa3c92f7e67b3b010a527ef3e8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=25e08e01f3d799…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Apr 21 15:13:44 2011 +0200
BI: repaired state filters
---
web/plugins/views/bi.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/plugins/views/bi.py b/web/plugins/views/bi.py
index 868f7ad..35b0a63 100644
--- a/web/plugins/views/bi.py
+++ b/web/plugins/views/bi.py
@@ -498,7 +498,7 @@ class BIStatusFilter(Filter):
allowed_states.append(s)
newrows = []
for row in rows:
- if row[self.column] in allowed_states:
+ if row[self.column]["state"] in allowed_states:
newrows.append(row)
return newrows