Closed Bug 371016 Opened 19 years ago Closed 19 years ago

Versions are no longer sorted by version-sort

Categories

(Bugzilla :: Bugzilla-General, defect)

2.23.4
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.0

People

(Reporter: mkanat, Assigned: mkanat)

Details

(Keywords: regression)

Attachments

(1 file)

Versions used to be sorted by vers_cmp in the UI, during the 2.23 development cycle, but we apparently broke that when we started using Bugzilla::Object for Bugzilla::Version. The fix is simple, though--we just have to override new_from_list and have it return its array sorted with vers_cmp.
Keywords: regression
Attached patch v1Splinter Review
This is a pretty simple fix. I've tested it on landfill.
Assignee: general → mkanat
Status: NEW → ASSIGNED
Attachment #255774 - Flags: review?(LpSolit)
Comment on attachment 255774 [details] [diff] [review] v1 Works fine. I doubt we will regress anything here. r=LpSolit
Attachment #255774 - Flags: review?(LpSolit) → review+
Must be taken for RC1.
Flags: approval+
Checking in Bugzilla/Version.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Version.pm,v <-- Version.pm new revision: 1.12; previous revision: 1.11 done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: