From de649aac9869bfdef951d7197e0e045bdc0397e7 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" Date: Fri, 11 Jun 1999 17:39:38 +0000 Subject: [PATCH] Display components in alphabetical order. git-svn-id: svn://10.0.0.236/trunk@34803 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/describecomponents.cgi | 2 +- mozilla/webtools/bugzilla/globals.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/bugzilla/describecomponents.cgi b/mozilla/webtools/bugzilla/describecomponents.cgi index bce7577d24a..ad3467d6248 100755 --- a/mozilla/webtools/bugzilla/describecomponents.cgi +++ b/mozilla/webtools/bugzilla/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/mozilla/webtools/bugzilla/globals.pl b/mozilla/webtools/bugzilla/globals.pl index e1e40670265..94a4f740269 100644 --- a/mozilla/webtools/bugzilla/globals.pl +++ b/mozilla/webtools/bugzilla/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}) {