diff options
author | bbaetz%student.usyd.edu.au <> | 2002-03-23 10:54:54 +0100 |
---|---|---|
committer | bbaetz%student.usyd.edu.au <> | 2002-03-23 10:54:54 +0100 |
commit | ce2652d5e2b998a98e378829e92d32f4219c06bd (patch) | |
tree | 335f3073dc86d431e80e983eb192254100f26e70 /buglist.cgi | |
parent | 93ccfd5df1c7c5e8596a5d742547a0628ba475f3 (diff) | |
download | bugzilla-ce2652d5e2b998a98e378829e92d32f4219c06bd.tar.gz bugzilla-ce2652d5e2b998a98e378829e92d32f4219c06bd.tar.xz |
Bug 132929 - buglist.cgi 'long format' button doesn't work
r=justdave x2
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/buglist.cgi b/buglist.cgi index 9238212a7..747fab520 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -1337,6 +1337,7 @@ 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 @@ -1361,6 +1362,7 @@ 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() @@ -1376,6 +1378,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->{'columns'} = $columns; $vars->{'displaycolumns'} = \@displaycolumns; |