my $bugstatuses = {};
my @bugs; # the list of records
+my @bugnums; # the list of bug numbers
while (my @row = FetchSQLData()) {
my $bug = {}; # a record
# 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()
# 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;