[checkmk-commits] Check_MK Git: check_mk: #2244 FIX Fixed sorting of host tag topics in dropdown selections

Lars Michelsen lm at mathias-kettner.de
Tue Apr 28 08:50:40 CEST 2015


Module: check_mk
Branch: master
Commit: 295b49b9a36b2a531f98946b177318570e940567
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=295b49b9a36b2a531f98946b177318570e940567

Author: Lars Michelsen <lm at mathias-kettner.de>
Date:   Tue Apr 28 08:50:34 2015 +0200

#2244 FIX Fixed sorting of host tag topics in dropdown selections

---

 .werks/2244        |   10 ++++++++++
 ChangeLog          |    1 +
 web/htdocs/wato.py |    2 ++
 3 files changed, 13 insertions(+)

diff --git a/.werks/2244 b/.werks/2244
new file mode 100644
index 0000000..7ad607a
--- /dev/null
+++ b/.werks/2244
@@ -0,0 +1,10 @@
+Title: Fixed sorting of host tag topics in dropdown selections
+Level: 1
+Component: wato
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i1
+Date: 1430203818
+
+
diff --git a/ChangeLog b/ChangeLog
index 95d2820..0e6940a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -467,6 +467,7 @@
     * 1956 FIX: WATO Web-API: Fixed exception information for single sites...
     * 2178 FIX: Fixed handling of user erros in WATO when using Python < 2.5
     * 2203 FIX: Fix sorting of unselected elements in a list choice with two panes
+    * 2244 FIX: Fixed sorting of host tag topics in dropdown selections
 
     Notifications:
     * 1662 notification plugin spectrum: finalized script. now able to handle host notications
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 03c6f45..8d50384 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -13020,6 +13020,7 @@ def mode_edit_auxtag(phase):
         explicit = TextUnicode(),
         otherlabel = _("Create New Topic"),
         default_value = None,
+        sorted = True
     )
 
     if phase == "action":
@@ -13146,6 +13147,7 @@ def mode_edit_hosttag(phase):
         explicit = TextUnicode(),
         otherlabel = _("Create New Topic"),
         default_value = None,
+        sorted = True
     )
 
     vs_choices = ListOf(



More information about the checkmk-commits mailing list