Univention Bugzilla – Bug 41015
Options aren't sorted
Last modified: 2017-07-05 13:06:25 CEST
Created attachment 7584 [details] Screenshot See screenshot.
diff --git a/management/univention-management-console-module-udm/umc/python/udm/udm_ldap.py b/management/univention-management-console-module-udm/umc/python/udm/udm_ldap.py index c92953f..97ddf83 100644 --- a/management/univention-management-console-module-udm/umc/python/udm/udm_ldap.py +++ b/management/univention-management-console-module-udm/umc/python/udm/udm_ldap.py @@ -774,2 +774,3 @@ def get_options(self, object_dn=None, udm_object=None): + options.sort(key=lambda x: x['label']) return options
(In reply to Florian Best from comment #1) > diff --git > a/management/univention-management-console-module-udm/umc/python/udm/ > udm_ldap.py > b/management/univention-management-console-module-udm/umc/python/udm/ > udm_ldap.py > index c92953f..97ddf83 100644 > --- > a/management/univention-management-console-module-udm/umc/python/udm/ > udm_ldap.py > +++ > b/management/univention-management-console-module-udm/umc/python/udm/ > udm_ldap.py > @@ -774,2 +774,3 @@ def get_options(self, object_dn=None, udm_object=None): > > + options.sort(key=lambda x: x['label']) > return options Applied Patch: r 80621 univention-management-console-module-udm (7.0.10-13) * Bug #41015: Applied patch from Florian Best - The options of an UDM object are now sorted. YAML: r 80622
OK: options are sorted and look good OK: YAML
<http://errata.software-univention.de/ucs/4.2/83.html>