Univention Bugzilla – Bug 33750
Overview entries without "priority" are placed first
Last modified: 2014-07-02 11:28:34 CEST
Created attachment 5699 [details] Patch … ideally they should be placed at the end of the list. The attached patch fixes this. The order is computed lexicographically, as fallback value for priority, float("inf") (i.e., a number) is used. The patch replaces this with "~" (which has the highest order for ascii characters).
Patch didn't do the trick as "priorty" was not actually missing in the related dict, but set to empty string not triggering the return of a default value. Instead of applying the patch, I've modified the initial value for the priority: empty string -> "~" svn 51177: univention-apache (6.0.16-7) svn 51178: YAML
(In reply to Lukas Walter from comment #1) > Patch didn't do the trick as "priorty" was not actually missing in the > related dict, but set to empty string not triggering the return of a default > value. > > Instead of applying the patch, I've modified the initial value for the > priority: > empty string -> "~" Patch works fine for me. The priority is now explicitely set to "~" in the json file, but this is ok. YAML file → OK (with minor adjustment + line break fix)
http://errata.univention.de/ucs/3.2/131.html