Module: check_mk
Branch: master
Commit: 6a83aa6826b124bded1ad91e3a0531c33e5ce3ac
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6a83aa6826b124…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Mon Jan 12 16:20:57 2015 +0100
#1210 New Downtime Filter for comments
It is no possible to add a comment filter to downtime views.
---
.werks/1210 | 10 ++++++++++
ChangeLog | 1 +
web/plugins/visuals/filters.py | 1 +
3 files changed, 12 insertions(+)
diff --git a/.werks/1210 b/.werks/1210
new file mode 100644
index 0000000..9928afc
--- /dev/null
+++ b/.werks/1210
@@ -0,0 +1,10 @@
+Title: New Downtime Filter for comments
+Level: 1
+Component: multisite
+Compatible: compat
+Version: 1.2.7i1
+Date: 1421076001
+Class: feature
+
+It is no possible to add a comment filter to downtime views.
+
diff --git a/ChangeLog b/ChangeLog
index c324fc0..79959fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -62,6 +62,7 @@
* 1758 Improved exception hander: Shows details without additional debug request,
added mailto link for error report...
* 1788 New personal setting for start page, right after login...
* 1776 Dashboard: Allowing unicode characters in static text dashlet
+ * 1210 New Downtime Filter for comments...
* 1781 FIX: Fix broken grouping by host/service group in availability
* 1783 FIX: Finish the view "History of Scheduled Downtimes"...
* 1206 FIX: Hostname not longer shown as column in host views
diff --git a/web/plugins/visuals/filters.py b/web/plugins/visuals/filters.py
index f4fc53f..ca35f57 100644
--- a/web/plugins/visuals/filters.py
+++ b/web/plugins/visuals/filters.py
@@ -663,6 +663,7 @@ declare_filter(250, FilterTime("host",
"host_last_state_change", _("Last host st
declare_filter(251, FilterTime("host", "host_last_check",
_("Last host check"), "host_last_check"))
declare_filter(253, FilterTime("comment", "comment_entry_time",
_("Time of comment"), "comment_entry_time" ))
declare_filter(253, FilterTime("downtime", "downtime_entry_time",
_("Time of Downtime"), "downtime_entry_time" ))
+declare_filter(254, FilterText("downtime_comment", _("Downtime
comment"), "downtime", "downtime_comment",
"downtime_comment", "~"))
# _
# | | ___ __ _
# | | / _ \ / _` |