Closed Bug 283725 Opened 20 years ago Closed 20 years ago

Platform, OS, Priority and Severity field dropdowns are not sorted correctly

Categories

(Bugzilla :: User Interface, defect)

2.19.2
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: wicked, Assigned: wicked)

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

Values in the Platform, OS, Priority and Severity field dropdowns on the
enter_bug.cgi and show_bug.cgi displays are not sorted acording to specified
sortkey. This changes after enum fields were converted to be tables (bug #17453).

Need to change get_legal_field_values() sub in global.pl to use the sortkey
field to fix this.
That's really strange, because I could have sworn I fixed that in the patch... :-)
Target Milestone: --- → Bugzilla 2.20
Version: unspecified → 2.19.2
Attachment #175602 - Flags: review?
Comment on attachment 175602 [details] [diff] [review]
Simple patch to add ORDER BY clause V1

Should be "sortkey, value" in the ORDER BY.
Attachment #175602 - Flags: review? → review-
Attachment #175602 - Attachment is obsolete: true
Attachment #175605 - Flags: review?(mkanat)
Comment on attachment 175605 [details] [diff] [review]
Simple patch to add ORDER BY clause V2

Yep, that definitely looks correct. :-)
Attachment #175605 - Flags: review?(mkanat) → review+
Flags: approval?
Flags: approval? → approval+
Checking in globals.pl;
/cvsroot/mozilla/webtools/bugzilla/globals.pl,v  <--  globals.pl
new revision: 1.310; previous revision: 1.309
done
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Keywords: regression
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: