summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuglist.cgi1
-rw-r--r--template/en/default/list/list.html.tmpl6
2 files changed, 3 insertions, 4 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 075986ca4..ed716f2ff 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -848,7 +848,6 @@ else { # remaining_time <= 0
$vars->{'bugs'} = \@bugs;
$vars->{'buglist'} = \@bugidlist;
-$vars->{'buglist_joined'} = join(',', @bugidlist);
$vars->{'columns'} = $columns;
$vars->{'displaycolumns'} = \@displaycolumns;
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl
index 6fafefe21..248fc2638 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -73,7 +73,7 @@
<div class="bz_query_debug">
<p>Total execution time: [% query_time FILTER html %] seconds</p>
[% FOREACH query = queries %]
- <p>[% query.sql FILTER html %]</p>
+ <pre>[% query.sql FILTER html %]</pre>
<p>Execution time: [% query.time FILTER html %] seconds</p>
[% IF query.explain %]
<pre>[% query.explain FILTER html %]</pre>
@@ -190,8 +190,8 @@
<div class="buglist_menu">
<div class="bz_query_buttons">
<form method="post" action="show_bug.cgi">
- [% id = buglist.join(",") %]
- <input type="hidden" name="id" value="[% id FILTER html %]">
+ [% buglist_joined = buglist.join(",") %]
+ <input type="hidden" name="id" value="[% buglist_joined FILTER html %]">
<input type="hidden" name="format" value="multiple">
<input type="submit" id="long_format" value="Long Format">
</form>