diff options
author | Matt Selsky <selsky@columbia.edu> | 2014-03-04 20:53:08 +0100 |
---|---|---|
committer | David Lawrence <dlawrence@mozilla.com> | 2014-03-04 20:53:08 +0100 |
commit | 54da2a3c22192b7b4d120ae74a7a805e1229cdbc (patch) | |
tree | 7f63ce9ef4a59ba6ce888a30887e02e22871ac64 | |
parent | 43ce5f5bab1d5c5004c4eefe426ff19b88fd6c78 (diff) | |
download | bugzilla-54da2a3c22192b7b4d120ae74a7a805e1229cdbc.tar.gz bugzilla-54da2a3c22192b7b4d120ae74a7a805e1229cdbc.tar.xz |
Bug 977030 - Remove the useless buglist_joined variable in buglist.cgi
r=dkl,a=justdave
-rwxr-xr-x | buglist.cgi | 1 | ||||
-rw-r--r-- | template/en/default/list/list.html.tmpl | 6 |
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> |