From f3254c63caf96f5a1106272d8393a66f4a32fc42 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 30 May 2006 02:15:56 +0000 Subject: Bug 335790: Field names in search form lists should be ordered alphabetically - Patch by Toms Baugis r=wicked a=myk --- query.cgi | 1 + 1 file changed, 1 insertion(+) (limited to 'query.cgi') diff --git a/query.cgi b/query.cgi index 8afb327e9..daae265d7 100755 --- a/query.cgi +++ b/query.cgi @@ -282,6 +282,7 @@ $vars->{'bug_severity'} = \@::legal_severity; my @fields; push(@fields, { name => "noop", description => "---" }); push(@fields, $dbh->bz_get_field_defs()); +@fields = sort {lc($a->{'description'}) cmp lc($b->{'description'})} @fields; $vars->{'fields'} = \@fields; # Creating new charts - if the cmd-add value is there, we define the field -- cgit v1.2.3-24-g4f1b