mirror of
https://we.phorge.it/source/phorge.git
synced 2025-04-05 17:08:27 +02:00
Make "Create New Similar Task" inherit priorities
Summary: Request in T1589, seems reasonable to me. Test Plan: Created a "Wishlist" task, created a "Similar" task, got "Wishlist" default priority. Reviewers: vrana, btrahan Reviewed By: vrana CC: aran Maniphest Tasks: T1589 Differential Revision: https://secure.phabricator.com/D3155
This commit is contained in:
parent
ceb522427e
commit
b4544ebe0f
1 changed files with 1 additions and 0 deletions
|
@ -287,6 +287,7 @@ final class ManiphestTaskEditController extends ManiphestController {
|
||||||
$task->setCCPHIDs($template_task->getCCPHIDs());
|
$task->setCCPHIDs($template_task->getCCPHIDs());
|
||||||
$task->setProjectPHIDs($template_task->getProjectPHIDs());
|
$task->setProjectPHIDs($template_task->getProjectPHIDs());
|
||||||
$task->setOwnerPHID($template_task->getOwnerPHID());
|
$task->setOwnerPHID($template_task->getOwnerPHID());
|
||||||
|
$task->setPriority($template_task->getPriority());
|
||||||
|
|
||||||
if ($aux_fields) {
|
if ($aux_fields) {
|
||||||
$template_task->loadAndAttachAuxiliaryAttributes();
|
$template_task->loadAndAttachAuxiliaryAttributes();
|
||||||
|
|
Loading…
Add table
Reference in a new issue