Project

General

Profile

Actions

Defect #28035

closed

Order of versions is not correctly ordered

Defect #28035: Order of versions is not correctly ordered

Added by Robert Schneider almost 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Resolution:
Duplicate
Affected version:

Description

I see this with version 3.4.2 and on redmine.org at different places:

  • in project configuration
  • in custom field
  • in Roadmap: completed versions in sidebar or when all gets shown
  • in issue list filter for version custom field

Which kind of sorting is it currently? It is not the id and it doesn't seem to be the name.


Related issues 1 (1 open — 0 closed)

Is duplicate of Redmine - Feature #6881: Version numbering sortNewActions

Updated by Toshi MARUYAMA almost 9 years ago Actions #1

  • Status changed from New to Closed

source:tags/3.4.4/app/models/version.rb#L197

Versions are sorted by effective_date and name
Those with no effective_date are at the end, sorted by name

in issue list filter for version custom field

Please explain more details.
redmine.org is not recent version.

Updated by Toshi MARUYAMA almost 9 years ago Actions #2

  • Status changed from Closed to New

Updated by Toshi MARUYAMA almost 9 years ago Actions #3

  • Status changed from New to Needs feedback

Updated by Robert Schneider almost 9 years ago Actions #4

Okay, I see. Doesn't look natural to me, but that's just my opinion.

I would prefer a an order independent of the effective date. Ideally, if the version has a format x.y.z it should be:

1.1.1
1.1.2
1.1.10
1.2.0
1.3.0
1.20.0

Updated by Go MAEDA almost 8 years ago Actions #5

Updated by Go MAEDA almost 8 years ago Actions #6

  • Status changed from Needs feedback to Closed
  • Resolution set to Duplicate

Closing as a duplicate of #6881.

Updated by Edgars Batna over 7 years ago Actions #7

Versions should be sorted by version. Sorting that runs on invisible criteria is bogus.

Actions

Also available in: PDF Atom