From: lpsolit%gmail.com <> Date: Sun, 13 Dec 2009 13:53:29 +0000 (+0000) Subject: Bug 310532: Bookmarkable new bug templates do not include estimated hours or alias... X-Git-Tag: bugzilla-3.5.3~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb4a8bf4954c38d06358c4a7509f3fac6fb1e705;p=thirdparty%2Fbugzilla.git Bug 310532: Bookmarkable new bug templates do not include estimated hours or alias fields - Patch by Mark Banner r/a=LpSolit --- diff --git a/enter_bug.cgi b/enter_bug.cgi index e6e78eaa1f..7c88f8d476 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -416,6 +416,7 @@ if ($cloned_bug_id) { $vars->{'dependson'} = join (", ", $cloned_bug_id, @{$cloned_bug->dependson}); $vars->{'blocked'} = join (", ", @{$cloned_bug->blocked}); $vars->{'deadline'} = $cloned_bug->deadline; + $vars->{'estimated_time'} = $cloned_bug->estimated_time; if (defined $cloned_bug->cc) { $vars->{'cc'} = join (", ", @{$cloned_bug->cc}); @@ -458,12 +459,14 @@ else { $default{'rep_platform'} = pickplatform(); $default{'op_sys'} = pickos(); + $vars->{'alias'} = formvalue('alias'); $vars->{'short_desc'} = formvalue('short_desc'); $vars->{'bug_file_loc'} = formvalue('bug_file_loc', "http://"); $vars->{'keywords'} = formvalue('keywords'); $vars->{'dependson'} = formvalue('dependson'); $vars->{'blocked'} = formvalue('blocked'); $vars->{'deadline'} = formvalue('deadline'); + $vars->{'estimated_time'} = formvalue('estimated_time'); $vars->{'cc'} = join(', ', $cgi->param('cc')); diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index 9b5944cc52..d29913fc22 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -436,7 +436,7 @@ TUI_hide_default('expert_fields'); Estimated Hours: - + @@ -456,7 +456,7 @@ TUI_hide_default('expert_fields'); Alias: - + [% END %]