From: terry%mozilla.org <> Date: Sat, 12 Jun 1999 00:39:38 +0000 (+0000) Subject: Display components in alphabetical order. X-Git-Tag: bugzilla-2.6~41 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d23872a045b1035e08f8292529c862aa10db8a4e;p=thirdparty%2Fbugzilla.git Display components in alphabetical order. --- diff --git a/describecomponents.cgi b/describecomponents.cgi index bce7577d24..ad3467d624 100755 --- a/describecomponents.cgi +++ b/describecomponents.cgi @@ -74,7 +74,7 @@ my $colbut1 = $cols - 1; print ""; -SendSQL("select value, initialowner, initialqacontact, description from components where program = " . SqlQuote($product)); +SendSQL("select value, initialowner, initialqacontact, description from components where program = " . SqlQuote($product) . " order by value"); while (MoreSQLData()) { my @row = FetchSQLData(); diff --git a/globals.pl b/globals.pl index e1e4067026..94a4f74026 100644 --- a/globals.pl +++ b/globals.pl @@ -222,7 +222,7 @@ sub GenerateVersionTable { push @{$::versions{$p1}}, $v; $varray{$v} = 1; } - SendSQL("select value, program from components"); + SendSQL("select value, program from components order by value"); while (@line = FetchSQLData()) { my ($c,$p) = (@line); if (!defined $::components{$p}) {