Checked in patch by Dawn Endico <endico@mozilla.org> -- when
reassigning by component, reassign the qa contact too. git-svn-id: svn://10.0.0.236/trunk@57856 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -325,6 +325,17 @@ SWITCH: for ($::FORM{'knob'}) {
|
||||
my $newid = DBNameToIdAndCheck($newname, 1);
|
||||
DoComma();
|
||||
$::query .= "assigned_to = $newid";
|
||||
if (Param("useqacontact")) {
|
||||
SendSQL("select initialqacontact from components where program=" .
|
||||
SqlQuote($::FORM{'product'}) .
|
||||
" and value=" . SqlQuote($::FORM{'component'}));
|
||||
my $qacontact = FetchOneColumn();
|
||||
if (defined $qacontact && $qacontact ne "") {
|
||||
my $newqa = DBNameToIdAndCheck($qacontact, 1);
|
||||
DoComma();
|
||||
$::query .= "qa_contact = $newqa";
|
||||
}
|
||||
}
|
||||
last SWITCH;
|
||||
};
|
||||
/^reopen$/ && CheckonComment( "reopen" ) && do {
|
||||
|
||||
Reference in New Issue
Block a user