From 1f0d11d741429693d9b9f6a2bb0e5401ac1f5547 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Wed, 16 Oct 2024 17:15:46 +0800 Subject: [PATCH] * [refac] use product workflowGroup field. --- module/datatable/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/datatable/model.php b/module/datatable/model.php index e8ef483e0d..98a956e44a 100644 --- a/module/datatable/model.php +++ b/module/datatable/model.php @@ -487,7 +487,7 @@ class datatableModel extends model ->where('t1.project')->eq($projectID) ->fetchAll('id'); - foreach($products as $product) $groupIdList[] = $this->workflowgroup->getGroupIDByData($module, $product); + foreach($products as $product) $groupIdList[] = $product->workflowGroup; foreach(array_unique($groupIdList) as $groupID) { $flow = $this->workflow->getByModule($module, false, $groupID);