aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-05-30 02:15:56 +0000
committerlpsolit%gmail.com <>2006-05-30 02:15:56 +0000
commitf3254c63caf96f5a1106272d8393a66f4a32fc42 (patch)
treed5c3e0e61dcff68e4f7728c382af479cf6cd576c /query.cgi
parentBug 150795: 'Numbering' is silly and should be changed - Patch by timeless <t... (diff)
downloadbugzilla-f3254c63caf96f5a1106272d8393a66f4a32fc42.tar.gz
bugzilla-f3254c63caf96f5a1106272d8393a66f4a32fc42.tar.bz2
bugzilla-f3254c63caf96f5a1106272d8393a66f4a32fc42.zip
Bug 335790: Field names in search form lists should be ordered alphabetically - Patch by Toms Baugis <toms.baugis@gmail.com> r=wicked a=myk
Diffstat (limited to 'query.cgi')
-rwxr-xr-xquery.cgi1
1 files changed, 1 insertions, 0 deletions
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