summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/components/list.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/admin/components/list.html.tmpl')
-rw-r--r--template/en/default/admin/components/list.html.tmpl8
1 files changed, 3 insertions, 5 deletions
diff --git a/template/en/default/admin/components/list.html.tmpl b/template/en/default/admin/components/list.html.tmpl
index 71444936d..0b4998679 100644
--- a/template/en/default/admin/components/list.html.tmpl
+++ b/template/en/default/admin/components/list.html.tmpl
@@ -17,6 +17,7 @@
# Rights Reserved.
#
# Contributor(s): Gavin Shelley <bugzilla@chimpychompy.org>
+ # Frédéric Buclin <LpSolit@gmail.com>
#%]
[%# INTERFACE:
@@ -25,9 +26,6 @@
# product: string; the name of the product we are editing components for
#%]
-[% USE Bugzilla %]
-[% cgi = Bugzilla.cgi %]
-
[% PROCESS global/variables.none.tmpl %]
[% title = BLOCK %]Select component of product
@@ -120,8 +118,8 @@
[% IF ! showbugcounts %]
-<p><a href="editcomponents.cgi?showbugcounts=1&amp;[% cgi.query_string %]">
- Redisplay table with [% terms.bug %] counts (slower)</a></p>
+ <p><a href="editcomponents.cgi?product=[% product FILTER url_quote %]&amp;showbugcounts=1">
+ Redisplay table with [% terms.bug %] counts (slower)</a></p>
[% END %]