View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010419 | mantisbt | other | public | 2009-04-27 07:03 | 2019-05-24 16:47 |
Reporter | jonathh | Assigned To | |||
Priority | low | Severity | feature | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Summary | 0010419: Allow customized sorting of versions | ||||
Description | It would be useful if the Versions sort order could be customized. Currently versions are sorted based on their release date. Additional sorting options to be considered: version_compare(), alphanumeric sort | ||||
Tags | No tags attached. | ||||
related to | 0004750 | new | Add option to sort product version alphabetically | |
has duplicate | 0011095 | closed | jreese | Version Number Definitions are sorted in a non-useful way. |
has duplicate | 0014503 | closed | dregad | Incorrect order of versions in dropdowns |
has duplicate | 0015951 | closed | atrol | Numeric releases are ordered incorrectly in Target Version menus |
related to | 0025791 | new | sort target_version column (all version columns) by assigned date |
If I remember correctly, version sorting is determined by the date/time associated with each version. |
|
Is it possible to change this? Even as a quick hack.. it is more useful to us to have it sorted alphabetically than by the date the release was created. Thanks. |
|
Check core/version_api.php functions version_get_all_rows* and update the query to order by 'version' instead of 'date_order'. Note that this will likely affect ordering on the roadmap and changelog pages as well. |
|
Hi, Sorry for the delay. I have just gotten around to testing the impact of this. I can confirm it does alter the Roadmap as well - this isn't a problem. BUT this fix does not alter the order that versions appear in on the 'View Issues' page? However, changing the same in 'version_get_all_rows_with_subs' does seem to have the desired result. Can you advise about this? |
|
@jonatth
Where did it not give the desired result? |
|