[checkmk-commits] Check_MK Git: check_mk: #1976 FIX Sorting BI rule choice dropdown field entries now

Lars Michelsen lm at mathias-kettner.de
Thu Feb 5 08:28:46 CET 2015


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

Author: Lars Michelsen <lm at mathias-kettner.de>
Date:   Thu Feb  5 08:28:31 2015 +0100

#1976 FIX Sorting BI rule choice dropdown field entries now

---

 .werks/1976        |   10 ++++++++++
 ChangeLog          |    1 +
 web/htdocs/wato.py |    1 +
 3 files changed, 12 insertions(+)

diff --git a/.werks/1976 b/.werks/1976
new file mode 100644
index 0000000..e3ea567
--- /dev/null
+++ b/.werks/1976
@@ -0,0 +1,10 @@
+Title: Sorting BI rule choice dropdown field entries now
+Level: 1
+Component: wato
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i1
+Date: 1423121276
+
+
diff --git a/ChangeLog b/ChangeLog
index b228b2e..47cb51b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -200,6 +200,7 @@
     * 1883 FIX: Fixed lossing service context when cloning a rule
     * 1925 FIX: Fix missing auxilliary tags that have their own topic...
     * 1927 FIX: Fixed level description in WATO rules, change from if above into at
+    * 1976 FIX: Sorting BI rule choice dropdown field entries now
 
     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 a6f93fd..9e32cec 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -16812,6 +16812,7 @@ def declare_bi_valuespecs(aggregation_rules):
             DropdownChoice(
                 title = _("Rule:"),
                 choices = rule_choices,
+                sorted = True,
             ),
             ListOfStrings(
                 orientation = "horizontal",



More information about the checkmk-commits mailing list