Module: check_mk
Branch: master
Commit: 139f67a57cf9ed255ab8c72a0a4293f3cb9abd58
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=139f67a57cf9ed…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Aug 26 12:41:27 2014 +0200
DropDownChoice valuespecs do not sort by default anymore (has been introduced shortly)
---
web/htdocs/valuespec.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/valuespec.py b/web/htdocs/valuespec.py
index 27f8f8f..05cecf3 100644
--- a/web/htdocs/valuespec.py
+++ b/web/htdocs/valuespec.py
@@ -1083,7 +1083,7 @@ class DropdownChoice(ValueSpec):
self._help_separator = kwargs.get("help_separator")
self._label = kwargs.get("label")
self._prefix_values = kwargs.get("prefix_values", False)
- self._sorted = kwargs.get("sorted", True)
+ self._sorted = kwargs.get("sorted", False)
self._no_preselect = kwargs.get("no_preselect", False)
self._no_preselect_value = kwargs.get("no_preselect_value", None)