Fix regression: wrong URL in modal to move task to another project

This commit is contained in:
Frederic Guillot 2017-01-23 21:16:14 -05:00
parent 5315e4961e
commit b23613bbe3
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ Improvements:
Regressions:
* Stay on the same page when a task is closed
* Wrong URL in modal to move task to another project
Version 1.0.37 (Jan 14, 2017)
-----------------------------

View File

@ -22,7 +22,7 @@
'placeholder' => t('Choose a project'),
'replace' => array(
'regex' => 'PROJECT_ID',
'url' => $this->url->href('TaskDuplicationController', 'copy', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'dst_project_id' => 'PROJECT_ID')),
'url' => $this->url->href('TaskDuplicationController', 'move', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'dst_project_id' => 'PROJECT_ID')),
)
)) ?>