summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-06-12 02:39:38 +0200
committerterry%mozilla.org <>1999-06-12 02:39:38 +0200
commitd23872a045b1035e08f8292529c862aa10db8a4e (patch)
treee1bd64cf280a3ef86ada479cfef13ffe48406a87
parent61972658853675a69033e0322c7be347ed790b82 (diff)
downloadbugzilla-d23872a045b1035e08f8292529c862aa10db8a4e.tar.gz
bugzilla-d23872a045b1035e08f8292529c862aa10db8a4e.tar.xz
Display components in alphabetical order.
-rwxr-xr-xdescribecomponents.cgi2
-rw-r--r--globals.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/describecomponents.cgi b/describecomponents.cgi
index bce7577d2..ad3467d62 100755
--- a/describecomponents.cgi
+++ b/describecomponents.cgi
@@ -74,7 +74,7 @@ my $colbut1 = $cols - 1;
print "</tr>";
-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 e1e406702..94a4f7402 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}) {