summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/choose-classification.html.tmpl
diff options
context:
space:
mode:
authorSimon Green <sgreen@redhat.com>2014-01-21 00:29:22 +0100
committerSimon Green <sgreen@redhat.com>2014-01-21 00:29:22 +0100
commit91ae795be29e4ab48da994e1e33c21b2d3c524b5 (patch)
treea4fbe352c10b0814211f0c1aee79943a100f5598 /template/en/default/global/choose-classification.html.tmpl
parente02e3bc792293af9460da9c9d6b9185b94c5307f (diff)
downloadbugzilla-91ae795be29e4ab48da994e1e33c21b2d3c524b5.tar.gz
bugzilla-91ae795be29e4ab48da994e1e33c21b2d3c524b5.tar.xz
Bug 913364 - Reuse preset values when navigation through enter_bug.cgi
r=glob, a=glob
Diffstat (limited to 'template/en/default/global/choose-classification.html.tmpl')
-rw-r--r--template/en/default/global/choose-classification.html.tmpl7
1 files changed, 3 insertions, 4 deletions
diff --git a/template/en/default/global/choose-classification.html.tmpl b/template/en/default/global/choose-classification.html.tmpl
index 1a59f6d89..815e625a6 100644
--- a/template/en/default/global/choose-classification.html.tmpl
+++ b/template/en/default/global/choose-classification.html.tmpl
@@ -19,13 +19,13 @@
[% DEFAULT title = "Choose the classification" %]
[% PROCESS global/header.html.tmpl %]
+[% previous_params = cgi.canonicalise_query('classification') %]
<h2>First, you must pick a classification on which to enter [% terms.abug %]:</h2>
<table id="choose_classification">
<tr>
<th class="right">
<a href="[% target FILTER uri %]?classification=__all
- [% IF cloned_bug_id %]&amp;cloned_bug_id=[% cloned_bug_id FILTER uri %][% END -%]
- [%- IF format %]&amp;format=[% format FILTER uri %][% END %]">
+ [%- IF previous_params %]&amp;[% previous_params FILTER none %][% END -%]">
All</a>:
</th>
@@ -39,8 +39,7 @@
<tr>
<th class="right">
<a href="[% target FILTER uri %]?classification=[% class.name FILTER uri -%]
- [%- IF cloned_bug_id %]&amp;cloned_bug_id=[% cloned_bug_id FILTER uri %][% END -%]
- [%- IF format %]&amp;format=[% format FILTER uri %][% END %]">
+ [%- IF previous_params %]&amp;[% previous_params FILTER none %][% END -%]">
[% class.name FILTER html %]</a>:
</th>