Module: check_mk
Branch: master
Commit: 2f936721fbb4b5b327c2e4a7ca6f4079368db35c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2f936721fbb4b5…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Jun 22 10:01:52 2011 +0200
Multisite: fix service columns in host tables
In special case where a host group filter is set
the service columns did not work
---
web/plugins/views/filters.py | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/web/plugins/views/filters.py b/web/plugins/views/filters.py
index 3213b94..2bd1d33 100644
--- a/web/plugins/views/filters.py
+++ b/web/plugins/views/filters.py
@@ -123,10 +123,7 @@ class FilterGroupCombo(Filter):
if current_value == None:
return "" # no {what}group exists!
- if self.what + "s" == infoname:
- col = "groups"
- else:
- col = self.what + "_groups"
+ col = self.what + "_groups"
if not self.enforce and html.var(self.htmlvars[1]):
negate = "!"
else: