diff --git a/module/execution/control.php b/module/execution/control.php index dea8b3e57b..ee320585e2 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -2365,10 +2365,10 @@ class execution extends control /** * Kanban. * - * @param int $executionID - * @param string $browseType - * @param string $orderBy - * @param string $groupBy + * @param int $executionID + * @param string $browseType + * @param string $orderBy + * @param string $groupBy * @access public * @return void */ @@ -2422,7 +2422,6 @@ class execution extends control } foreach($products as $product) $productNames[$product->id] = $product->name; - $plans = $this->execution->getPlans($products, 'skipParent', $executionID); $allPlans = array('' => ''); if(!empty($plans)) diff --git a/module/execution/view/kanban.html.php b/module/execution/view/kanban.html.php index 369c537783..0867c2aeb0 100644 --- a/module/execution/view/kanban.html.php +++ b/module/execution/view/kanban.html.php @@ -304,4 +304,34 @@ js::set('priv', + diff --git a/module/task/control.php b/module/task/control.php index e47e6d6074..aa492230fe 100755 --- a/module/task/control.php +++ b/module/task/control.php @@ -941,7 +941,11 @@ class task extends control } $execution = $this->execution->getById($task->execution); - if(!isonlybody() and $execution->type == 'kanban') return print(js::locate($this->createLink('execution', 'kanban', "executionID=$execution->id"))); + if(!isonlybody() and $execution->type == 'kanban') + { + setcookie('taskID', $taskID, 0, $this->config->webRoot, '', false, false); + return print(js::locate($this->createLink('execution', 'kanban', "executionID=$execution->id"))); + } $this->session->project = $task->project;