Module: check_mk
Branch: master
Commit: ba6d73e3dd44f5d4aa0b671cd2bd987fc5e9a228
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ba6d73e3dd44f5…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Oct 26 15:45:20 2010 +0200
Multisite: fix problem with group filter
---
ChangeLog | 2 ++
web/plugins/views/filters.py | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index f870d05..a771acb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -41,6 +41,8 @@
spaces)
* Allow non-ASCII character in downtimes and comments
* Added nagvis_base_url to multisite.mk example configuration
+ * Filter for host/service groups: use name instead of alias if
+ user has no permissions for groups
1.1.8b3:
Core, Setup, etc.:
diff --git a/web/plugins/views/filters.py b/web/plugins/views/filters.py
index db384c7..b9ec53b 100644
--- a/web/plugins/views/filters.py
+++ b/web/plugins/views/filters.py
@@ -150,7 +150,7 @@ class FilterGroupCombo(Filter):
current_value = self.current_value(infoname)
if current_value:
alias = html.live.query_value("GET %sgroups\nColumns: alias\nFilter:
name = %s\n" %
- (self.what, current_value))
+ (self.what, current_value), current_value)
return alias