diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-02-07 09:34:05 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-02-07 09:34:05 -0500 |
commit | 07dd8882e813d03dd2121a21cda8afd19ee90fc9 (patch) | |
tree | cbf94d5c3025c55c235a10f8b17d2e926f745724 /app/Template/subtask/menu.php | |
parent | 3fa445fce49d6c7e14e5b0cbc76e5fe2c52f73ba (diff) |
Fix subtask redirection
Diffstat (limited to 'app/Template/subtask/menu.php')
-rw-r--r-- | app/Template/subtask/menu.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/subtask/menu.php b/app/Template/subtask/menu.php index 878ad68c..16174bcf 100644 --- a/app/Template/subtask/menu.php +++ b/app/Template/subtask/menu.php @@ -3,12 +3,12 @@ <ul> <?php if ($subtask['position'] != $first_position): ?> <li> - <?= $this->url->link(t('Move Up'), 'subtask', 'movePosition', array('project_id' => $task['id'], 'task_id' => $subtask['task_id'], 'subtask_id' => $subtask['id'], 'direction' => 'up'), true) ?> + <?= $this->url->link(t('Move Up'), 'subtask', 'movePosition', array('project_id' => $task['project_id'], 'task_id' => $subtask['task_id'], 'subtask_id' => $subtask['id'], 'direction' => 'up', 'redirect' => $redirect), true) ?> </li> <?php endif ?> <?php if ($subtask['position'] != $last_position): ?> <li> - <?= $this->url->link(t('Move Down'), 'subtask', 'movePosition', array('project_id' => $task['id'], 'task_id' => $subtask['task_id'], 'subtask_id' => $subtask['id'], 'direction' => 'down'), true) ?> + <?= $this->url->link(t('Move Down'), 'subtask', 'movePosition', array('project_id' => $task['project_id'], 'task_id' => $subtask['task_id'], 'subtask_id' => $subtask['id'], 'direction' => 'down', 'redirect' => $redirect), true) ?> </li> <?php endif ?> <li> |