Mantis Bug Tracker
 

View Issue Details Jump to Notes ] Wiki ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010419mantisbtotherpublic2009-04-27 07:032010-06-24 08:04
Reporterjonathh 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusfeedbackResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0010419: Versions are not sorted
DescriptionJust tested the repeated versions bug in 1.1.7 and noticed that the versions are not ordered alphabetically at least. Seems to be arbitary...

Would be helpful.
TagsNo tags attached.
Attached Files

- Relationships
has duplicate 0011095closedjreese Version Number Definitions are sorted in a non-useful way. 

-  Notes
User avatar (0021693)
jreese (administrator)
2009-04-27 09:01

If I remember correctly, version sorting is determined by the date/time associated with each version.
User avatar (0021696)
jonathh (reporter)
2009-04-27 09:27

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.
User avatar (0021697)
jreese (administrator)
2009-04-27 09:34

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.
User avatar (0022596)
jonathh (reporter)
2009-07-29 05:53

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?
User avatar (0025974)
polzin (reporter)
2010-06-24 08:04

@jonatth
> However, changing the same in 'version_get_all_rows_with_subs' does seem to have the desired result. Can you advise about this?

Where did it not give the desired result?
A different sorting would be useful for me, too!

- Issue History
Date Modified Username Field Change
2009-04-27 07:03 jonathh New Issue
2009-04-27 09:01 jreese Note Added: 0021693
2009-04-27 09:01 jreese Status new => feedback
2009-04-27 09:27 jonathh Note Added: 0021696
2009-04-27 09:34 jreese Note Added: 0021697
2009-07-29 05:53 jonathh Note Added: 0022596
2009-10-29 08:48 jreese Relationship added has duplicate 0011095
2010-06-24 08:04 polzin Note Added: 0025974


MantisBT 1.2.2 git master-1.2.x[^]
Copyright © 2000 - 2010 MantisBT Group
Time: 0.2120 seconds.
memory usage: 1,949 KB
Powered by Mantis Bugtracker