From 52f72f56c83c4f78e259feaed38ddd5553a4316a Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 26 Nov 2024 16:16:55 +0800 Subject: [PATCH] * [refac,done,0.2h] fix fieldList error. --- module/project/ui/execution.html.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module/project/ui/execution.html.php b/module/project/ui/execution.html.php index 61ef16f26a..85ca1a2911 100644 --- a/module/project/ui/execution.html.php +++ b/module/project/ui/execution.html.php @@ -71,14 +71,13 @@ if(!$this->cookie->showStage && !$this->cookie->showTask) } if(!$project->hasProduct) unset($fieldList['productName']); +$config->project->execution->dtable->fieldList = $fieldList; $fieldList = $this->loadModel('datatable')->getSetting('project', 'execution'); $fieldList['name']['name'] = 'nameCol'; $fieldList['actions']['width'] = '160'; foreach(array_keys($fieldList['actions']['actionsMap']) as $actionKey) unset($fieldList['actions']['actionsMap'][$actionKey]['text']); -$config->project->execution->dtable->fieldList = $fieldList; - $executions = $this->execution->generateRow($executionStats, $users, $avatarList); /* zin: Define the feature bar on main menu. */