summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-02-26 00:40:17 +0100
committertravis%sedsystems.ca <>2005-02-26 00:40:17 +0100
commitf88d296263969914fba5c461cad34b5c3b1b9a74 (patch)
treed722fe0c786a5097676fc4e66c5a0b7d9f36c345
parent9eebc260a41390387e7f5c9effe52855af297364 (diff)
downloadbugzilla-f88d296263969914fba5c461cad34b5c3b1b9a74.tar.gz
bugzilla-f88d296263969914fba5c461cad34b5c3b1b9a74.tar.xz
Bug 282983 : bug cloning doesn't work if classifications are enabled
Patch by Shane H. W. Travis <travis@sedsystems.ca> r=glob a=myk
-rwxr-xr-xenter_bug.cgi2
-rw-r--r--template/en/default/global/choose-classification.html.tmpl2
2 files changed, 4 insertions, 0 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index ad4213023..e9b599138 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -98,6 +98,8 @@ if (!defined $product) {
$vars->{'target'} = "enter_bug.cgi";
$vars->{'format'} = $::FORM{'format'};
+ $vars->{'cloned_bug_id'} = $cgi->param('cloned_bug_id');
+
print "Content-type: text/html\n\n";
$template->process("global/choose-classification.html.tmpl", $vars)
|| ThrowTemplateError($template->error());
diff --git a/template/en/default/global/choose-classification.html.tmpl b/template/en/default/global/choose-classification.html.tmpl
index 1d52b3686..3bb4be3a8 100644
--- a/template/en/default/global/choose-classification.html.tmpl
+++ b/template/en/default/global/choose-classification.html.tmpl
@@ -36,6 +36,7 @@
<tr>
<th align="right" valign="center" height=50>
<a href="[% target FILTER url_quote %]?classification=__all
+ [% IF cloned_bug_id %]&amp;cloned_bug_id=[% cloned_bug_id FILTER url_quote %][% END %]
[% IF format %]&amp;format=[% format FILTER url_quote %][% END %]">
All</a>:
</th>
@@ -49,6 +50,7 @@
<tr>
<th align="right" valign="top">
<a href="[% target FILTER url_quote %]?classification=[% p FILTER url_quote %]
+ [% IF cloned_bug_id %]&amp;cloned_bug_id=[% cloned_bug_id FILTER url_quote %][% END %]
[% IF format %]&amp;format=[% format FILTER url_quote %][% END %]">
[% p FILTER html %]</a>:
</th>