summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorKoosha Khajeh Moogahi <koosha.khajeh@gmail.com>2012-09-20 20:21:04 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-09-20 20:21:04 +0200
commit8bc92049518f57d645b1e3290667c21d502d0d56 (patch)
tree269bc7d2b60377a035d139062cbbb7e8935801e3 /template
parentc658f1b025d74ae9b4c7716d81377b68a1cc5a52 (diff)
downloadbugzilla-8bc92049518f57d645b1e3290667c21d502d0d56.tar.gz
bugzilla-8bc92049518f57d645b1e3290667c21d502d0d56.tar.xz
Bug 450546: Use visible_bugs() where appropriate instead of/in combination with can_see_bug() to improve performance
r/a=LpSolit
Diffstat (limited to 'template')
-rw-r--r--template/en/default/list/list.html.tmpl5
1 files changed, 2 insertions, 3 deletions
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl
index 1c5c22810..3be607a38 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -191,9 +191,8 @@
[% IF bugs.size > 0 %]
<td valign="middle" class="bz_query_buttons">
<form method="post" action="show_bug.cgi">
- [% FOREACH id = buglist %]
- <input type="hidden" name="id" value="[% id FILTER html %]">
- [% END %]
+ [% id = buglist.join(",") %]
+ <input type="hidden" name="id" value="[% id FILTER html %]">
<input type="hidden" name="format" value="multiple">
<input type="submit" id="long_format" value="Long Format">
</form>