]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 282983 : bug cloning doesn't work if classifications are enabled
authortravis%sedsystems.ca <>
Fri, 25 Feb 2005 23:40:17 +0000 (23:40 +0000)
committertravis%sedsystems.ca <>
Fri, 25 Feb 2005 23:40:17 +0000 (23:40 +0000)
Patch by Shane H. W. Travis <travis@sedsystems.ca>   r=glob  a=myk

enter_bug.cgi
template/en/default/global/choose-classification.html.tmpl

index ad421302370b80c464d076bc1ca9342438e56115..e9b5991385157debc37a6dba9fcc116496ada597 100755 (executable)
@@ -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());
index 1d52b3686db36e8bdbe7049fb12d29600cd93072..3bb4be3a8b4f830e2e6dd8b1bcf8ae8079d64e73 100644 (file)
@@ -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>