From: mkanat%kerio.com <> Date: Sun, 27 Feb 2005 09:11:22 +0000 (+0000) Subject: Bug 283725: Platform, OS, Priority and Severity field dropdowns are not sorted correctly X-Git-Tag: bugzilla-2.19.3~235 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=227cf9e129b811c24fc8a4baac5eab439d60965a;p=thirdparty%2Fbugzilla.git Bug 283725: Platform, OS, Priority and Severity field dropdowns are not sorted correctly Patch By Teemu Mannermaa r=mkanat, a=justdave --- diff --git a/globals.pl b/globals.pl index 4fe0c27833..721f3bc431 100644 --- a/globals.pl +++ b/globals.pl @@ -1008,7 +1008,8 @@ sub LearnAboutColumns { sub get_legal_field_values { my ($field) = @_; 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; }