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