Module: check_mk
Branch: master
Commit: e113b33718b4115fd16c0739d7f828586a7112bd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e113b33718b411…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon Jun 20 11:31:05 2016 +0200
3640 new filter option for status details: can now be negated
---
.werks/3640 | 9 +++++++++
ChangeLog | 1 +
web/plugins/visuals/filters.py | 2 +-
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.werks/3640 b/.werks/3640
new file mode 100644
index 0000000..c9aa8d2
--- /dev/null
+++ b/.werks/3640
@@ -0,0 +1,9 @@
+Title: new filter option for status details: can now be negated
+Level: 1
+Component: multisite
+Compatible: compat
+Version: 1.4.0i1
+Date: 1466415026
+Class: feature
+
+
diff --git a/ChangeLog b/ChangeLog
index 8b66860..7d18f3c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -295,6 +295,7 @@
* 3575 User logins can now be limited to single session at a time...
* 3592 Views: Added sorter for host names (without site)
* 3141 added user interfaces and permissions to view and acknowledge failed
notifications
+ * 3640 new filter option for status details: can now be negated
* 3059 FIX: Fixed highlighting of availability timeline time slices
* 3175 FIX: Fix timeranges of graphs that are embedded in a dashboard...
* 3076 FIX: fixed broken views in check_mk raw edition
diff --git a/web/plugins/visuals/filters.py b/web/plugins/visuals/filters.py
index 86bd7fd..386dec8 100644
--- a/web/plugins/visuals/filters.py
+++ b/web/plugins/visuals/filters.py
@@ -119,7 +119,7 @@ declare_filter(201, FilterUnicode("service", _("Service
(exact match)"),
declare_filter(202, FilterUnicode("service_display_name", _("Service
alternative display name"), "service", "service_display_name",
"service_display_name", "~~"),
_("Alternative display name of the service, regex
match"))
-declare_filter(202, FilterUnicode("output", _("Status detail"),
"service", "service_plugin_output", "service_output",
"~~"))
+declare_filter(202, FilterUnicode("output", _("Status detail"),
"service", "service_plugin_output", "service_output",
"~~", True))
declare_filter(102, FilterHostnameOrAlias("hostnameoralias", _("Hostname
or Alias"), "host", ["host_alias", "host_name"],
"hostnameoralias", "~~", False),
_("Search field allowing regular expressions and partial
matches"))