summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-04-01 12:47:52 +0200
committerbbaetz%student.usyd.edu.au <>2002-04-01 12:47:52 +0200
commite924425a45dd374fc1a124c0ae59133c1e3726dd (patch)
treec26ca2a34be02ae0413c211436a77abba5ac7c6b /buglist.cgi
parent8d762094667cd2c0c9b4831a2909f069a16e5e9c (diff)
downloadbugzilla-e924425a45dd374fc1a124c0ae59133c1e3726dd.tar.gz
bugzilla-e924425a45dd374fc1a124c0ae59133c1e3726dd.tar.xz
Better fix for bug 132929, buglist.cgi "long format" button doesn't work.
r=myk x2
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi4
1 files changed, 1 insertions, 3 deletions
diff --git a/buglist.cgi b/buglist.cgi
index ff31feb1f..3654ade2d 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -1343,7 +1343,6 @@ my $bugproducts = {};
my $bugstatuses = {};
my @bugs; # the list of records
-my @bugnums; # the list of bug numbers
while (my @row = FetchSQLData()) {
my $bug = {}; # a record
@@ -1368,7 +1367,6 @@ while (my @row = FetchSQLData()) {
# Add the record to the list.
push(@bugs, $bug);
- push(@bugnums, $bug->{id});
}
# Switch back from the shadow database to the regular database so PutFooter()
@@ -1384,7 +1382,7 @@ SendSQL("USE $::db_name");
# Define the variables and functions that will be passed to the UI template.
$vars->{'bugs'} = \@bugs;
-$vars->{'buglist'} = join(',', @bugnums);
+$vars->{'buglist'} = join(',', map($_->{id}, @bugs));
$vars->{'columns'} = $columns;
$vars->{'displaycolumns'} = \@displaycolumns;