From a2676be2ff4b3d29f4d4c64f39a25400d5f43036 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Mon, 28 Mar 2022 16:07:39 +0800 Subject: [PATCH] * Fix bug #19980. --- module/story/control.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/story/control.php b/module/story/control.php index 24dea5a35c..09099b18be 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -1374,7 +1374,8 @@ class story extends control $execution = $this->execution->getByID($this->session->execution); if($this->app->tab == 'execution' and $execution->type == 'kanban' and $this->app->tab == 'execution') { - $kanbanData = $this->loadModel('kanban')->getRDKanban($this->session->execution, $this->session->execLaneType ? $this->session->execLaneType : 'all'); + $this->loadModel('kanban')->updateLane($this->session->execution, 'story', $storyID); + $kanbanData = $this->kanban->getRDKanban($this->session->execution, $this->session->execLaneType ? $this->session->execLaneType : 'all'); $kanbanData = json_encode($kanbanData); return print(js::closeModal('parent.parent', '', "parent.parent.updateKanban($kanbanData)"));