Ticket #1909 (closed defect: fixed)
Opened 7 years ago
Last modified 6 years ago
Items in "Severity" and "Priority" list can't have their order changed
| Reported by: | kcartier@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.9 |
| Component: | admin/console | Version: | 0.8.4 |
| Severity: | normal | Keywords: | |
| Cc: | boris@… | ||
| Release Notes: | |||
| API Changes: | |||
Description
The items listed in the ticket drop-down menu for Severity should be sorted in alphabetical order, but are not.
Attachments
Change History
comment:1 Changed 7 years ago by mgood
- Resolution set to wontfix
- Status changed from new to closed
comment:2 Changed 7 years ago by christianj@…
- Resolution wontfix deleted
- Status changed from closed to reopened
trac-admin reports the order one way and within the web UI they are in a different order.
I attempted to remove them and then add them back in the order I wanted. trac-admin showed the order I desired, but the web UI was very different.
What is the ordering mechanism? Can a order value be assigned to the list?
comment:3 Changed 7 years ago by jonas
- Milestone set to 0.9
comment:4 Changed 7 years ago by boris@…
- Cc boris@… added
- Summary changed from Items in "Severity" list not sorted to Items in "Severity" and "Priority" list can't have their order changed
Same issue, except with priority as well. If you delete the "top" priority, and then add new ones, they are automatically the lowest priority. Need to be able to re-order/weight the text labels.
This is especially problematic if you add a new priotity called "super high priority"….it gets listed as the lowest priority in sort order.
comment:5 Changed 7 years ago by mgood
This appears to already be implemented in the webadmin plugin, although it still needs added to trac-admin
comment:6 Changed 7 years ago by cmlenz
So, any suggestions for how a trac-admin command to change the order for these fields would look?
comment:7 Changed 7 years ago by cmlenz
- Owner changed from jonas to cmlenz
- Status changed from reopened to new
Possible approaches:
priority order [value1 [value2 [value3 ...]]]
This would require to list all the values in the order you want, which is a bit cumbersome.
priority order value [up|down]
This would move a specific value up or down in the order, thereby changing the value column of two records.
comment:8 Changed 7 years ago by cmlenz
- Component changed from ticket system to trac-admin
- Status changed from new to assigned
comment:9 Changed 7 years ago by anonymous
- Resolution set to fixed
- Status changed from assigned to closed
Implemented in [2414].
comment:10 Changed 7 years ago by cmlenz
Yeah, anonymous was cmlenz :-P



No, they should be sorted in the order of importance, which they are.