Module: check_mk
Branch: master
Commit: 2b7bfca646ba07e88493ba73ece42076fe3005bc
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2b7bfca646ba07…
Author: Andreas <ab(a)mathias-kettner.de>
Date: Wed Jun 20 15:42:00 2018 +0200
6232 FIX Notifications rules are no longer sortable
The WATO GUI allowed to sort the list of notification rules.
Since the correct ordering of these rules is very significant, it is no
longer possible to change the (display) order in the GUI.
Change-Id: I94ae8bd975cbfbd7f21c920093eb784dfd5d3e16
---
.werks/6232 | 14 ++++++++++++++
web/htdocs/wato.py | 2 +-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/.werks/6232 b/.werks/6232
new file mode 100644
index 0000000..d04099a
--- /dev/null
+++ b/.werks/6232
@@ -0,0 +1,14 @@
+Title: Notifications rules are no longer sortable
+Level: 1
+Component: notifications
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.6.0i1
+Date: 1529501298
+
+The WATO GUI allowed to sort the list of notification rules.
+Since the correct ordering of these rules is very significant, it is no
+longer possible to change the (display) order in the GUI.
+
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index d908860..432d202 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -8666,7 +8666,7 @@ def render_notification_rules(rules, userid="",
show_title=False, show_buttons=T
title = code + _("Notification rules of user %s") % userid
else:
title = _("Global notification rules")
- table.begin(title = title, limit = None)
+ table.begin(title = title, limit = None, sortable=False)
if analyse:
analyse_rules, analyse_plugins = analyse