From 4251dbe8ab3398d9fa46246eeee0725a5da23a0f Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 24 Dec 2024 11:04:23 +0800 Subject: [PATCH] * [refac bug #58283] Adjust appendWorkflowFields for dtable. --- module/datatable/model.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/datatable/model.php b/module/datatable/model.php index 4c3cb51588..2a8fc2d589 100644 --- a/module/datatable/model.php +++ b/module/datatable/model.php @@ -493,6 +493,7 @@ class datatableModel extends model $flow = $this->workflow->getByModule($module, false, $groupID); if(empty($flow)) continue; + if($groupID != $flow->group) $groupID = 0; if($flow->buildin) { $action = $this->workflowaction->getByModuleAndAction($module, $method, $groupID); @@ -507,6 +508,7 @@ class datatableModel extends model $flow = $this->workflow->getByModule($module, false, $groupID); if(empty($flow)) return []; + if($groupID != $flow->group) $groupID = 0; if($flow->buildin) { $action = $this->workflowaction->getByModuleAndAction($module, $method, $groupID);