Commit 227cf9e1 authored by mkanat%kerio.com's avatar mkanat%kerio.com

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

Patch By Teemu Mannermaa <wicked@etlicon.fi> r=mkanat, a=justdave
parent 4885c456
...@@ -1008,7 +1008,8 @@ sub LearnAboutColumns { ...@@ -1008,7 +1008,8 @@ sub LearnAboutColumns {
sub get_legal_field_values { sub get_legal_field_values {
my ($field) = @_; my ($field) = @_;
my $dbh = Bugzilla->dbh; my $dbh = Bugzilla->dbh;
my $result_ref = $dbh->selectcol_arrayref("SELECT value FROM $field"); my $result_ref = $dbh->selectcol_arrayref(
"SELECT value FROM $field ORDER BY sortkey, value");
return @$result_ref; return @$result_ref;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment