Opened 14 years ago
Closed 9 years ago
#5509 closed enhancement (fixed)
Sorting property lists
Reported by: | anonymous | Owned by: | ce |
---|---|---|---|
Priority: | normal | Milestone: | 15.08 |
Component: | Internal preset | Version: | |
Keywords: | sorting | Cc: | Klumbumbus |
Description (last modified by )
Hi, wouldn't it be easy to sort the lists showing up the properties in the single presets?
For instance the vending machine preset drop down box for the machines products would be easier to understand if it is sorted alphabeticaly, cause you know what you are looking for at this moment.
Attachments (1)
Change History (14)
comment:1 by , 14 years ago
comment:2 by , 13 years ago
Component: | Core → Internal preset |
---|---|
Owner: | changed from | to
Summary: | Sorting property lists → [Patch] Sorting property lists |
Sorting is easier done within the preset. But how about I18n?
by , 13 years ago
Attachment: | 5509.patch added |
---|
follow-up: 5 comment:4 by , 13 years ago
Description: | modified (diff) |
---|---|
Summary: | [Patch] Sorting property lists → Sorting property lists |
We could add a sort property, probably set to "true" as default.
comment:5 by , 10 years ago
Replying to stoecker:
We could add a sort property, probably set to "true" as default.
Think it is not default atm but there is an option to sort now.
comment:6 by , 10 years ago
taggingpreset.sortmenu=true
only works for the menu but not for values of combo_box
for example.
comment:8 by , 10 years ago
Cc: | added |
---|
comment:10 by , 10 years ago
Milestone: | → 15.07 |
---|
comment:12 by , 9 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I think it would still be nice to have a possibility to have a non-alphabetical sorting. For example when tagging railway signal states the reasonable order for a German Vr signal would be railway:signal:states=vr0;vr1;vr2;off;?. Now you have to come up with some creative names for the label, so that they are shown and applied in the correct order.
(see also https://github.com/rurseekatze/OpenRailwayMap/pull/357)
comment:13 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Please do not re-open closed tickets from earlier milestones! Instead, create an new one: #11926
Not generally. The order is defined by the preset code itself. Maybe we can add a sort keyword, so the list can get sorted when preset author wants it.