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);