From b5075fdb03efc8732e9d8ba767e8043f577bdbce Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Thu, 9 May 2013 16:41:55 -0400 Subject: Bug 869077 - Component isn't preselected from the query_string when cloning a bug --- enter_bug.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/enter_bug.cgi b/enter_bug.cgi index 55547b15c..c0d8f59ee 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -247,7 +247,8 @@ $default{'product'} = $product->name; if ($cloned_bug_id) { - $default{'component_'} = $cloned_bug->component; + # BMO: allow form value component to override the cloned bug component + $default{'component_'} = formvalue('component') || $cloned_bug->component; $default{'priority'} = $cloned_bug->priority; $default{'bug_severity'} = $cloned_bug->bug_severity; $default{'rep_platform'} = $cloned_bug->rep_platform; -- cgit v1.2.3-24-g4f1b