From 227cf9e129b811c24fc8a4baac5eab439d60965a Mon Sep 17 00:00:00 2001 From: "mkanat%kerio.com" <> Date: Sun, 27 Feb 2005 09:11:22 +0000 Subject: Bug 283725: Platform, OS, Priority and Severity field dropdowns are not sorted correctly Patch By Teemu Mannermaa r=mkanat, a=justdave --- globals.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'globals.pl') diff --git a/globals.pl b/globals.pl index 4fe0c2783..721f3bc43 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; } -- cgit v1.2.3-24-g4f1b