Module: check_mk
Branch: master
Commit: 39ce3ff0504d6a1d9ff326ee4c004bc82f431151
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=39ce3ff0504d6a…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Oct 21 14:43:39 2013 +0200
FIX: Hosttag filter now works in service related views
---
ChangeLog | 1 +
web/plugins/views/filters.py | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index e4ae473..150b719 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -25,6 +25,7 @@
* FIX: Fixed encoding problem in webservice column output
* FIX: Fix output format python for several numeric columns
* FIX: Fixed searching hosts by aliases/adresses
+ * FIX: Hosttag filter now works in service related views
Notifications:
* Blacklisting for services in the felixble notification system
diff --git a/web/plugins/views/filters.py b/web/plugins/views/filters.py
index 662bc21..24b9fd7 100644
--- a/web/plugins/views/filters.py
+++ b/web/plugins/views/filters.py
@@ -771,7 +771,7 @@ class FilterHostTags(Filter):
if op and val:
operator = op != 'is' and '!~' or '~'
- headers.append('Filter: custom_variables %s TAGS %s' % (operator,
val))
+ headers.append('Filter: host_custom_variables %s TAGS %s' %
(operator, val))
if headers:
return '\n'.join(headers) + '\n'