From 157c60bd643e4f1531d0eac41e7eecd011c3bbb6 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Thu, 7 Jul 2022 10:04:24 +0800 Subject: [PATCH] * Code for task#59546. Update unlink story. --- module/execution/control.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/module/execution/control.php b/module/execution/control.php index 15d6a14c4a..27bed4be0c 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -3158,6 +3158,19 @@ class execution extends control } return $this->send($response); } + + $execution = $this->execution->getByID($executionID); + if($this->app->tab == 'execution' and $execution->type == 'kanban') + { + $execLaneType = $this->session->execLaneType ? $this->session->execLaneType : 'all'; + $execGroupBy = $this->session->execGroupBy ? $this->session->execGroupBy : 'default'; + $rdSearchValue = $this->session->rdSearchValue ? $this->session->rdSearchValue : ''; + $kanbanData = $this->loadModel('kanban')->getRDKanban($executionID, $execLaneType, 'id_desc', 0, $execGroupBy, $rdSearchValue); + $kanbanData = json_encode($kanbanData); + + return print(js::closeModal('parent', '', "parent.updateKanban($kanbanData)")); + } + return print(js::reload('parent')); } }