From c262a060bd97ebf4d459ff760d6558a865f6f1b9 Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Wed, 1 Mar 2023 05:32:58 +0000 Subject: [PATCH] * Fix bug #32533. --- module/execution/config.php | 2 +- module/execution/model.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/module/execution/config.php b/module/execution/config.php index 89311d721e..fe54586d73 100644 --- a/module/execution/config.php +++ b/module/execution/config.php @@ -223,7 +223,7 @@ $config->execution->datatable->fieldList['status']['required'] = 'no'; $config->execution->datatable->fieldList['status']['fixed'] = 'no'; $config->execution->datatable->fieldList['PM']['title'] = 'owner'; -$config->execution->datatable->fieldList['PM']['width'] = '70'; +$config->execution->datatable->fieldList['PM']['width'] = '90'; $config->execution->datatable->fieldList['PM']['required'] = 'no'; $config->execution->datatable->fieldList['PM']['fixed'] = 'no'; diff --git a/module/execution/model.php b/module/execution/model.php index 4902912395..f218048dcf 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -5541,7 +5541,8 @@ class executionModel extends model foreach($fieldList as $field => $items) { - $title = zget($this->lang->execution, $items['title'], zget($this->lang, $items['title'], $items['title'])); + $fieldKey = in_array($field, array('name', 'code', 'type', 'PM', 'status')) ? 'exec' . ucfirst($field) : $field; + $title = $field == 'id' ? 'ID' : zget($this->lang->execution, $fieldKey, zget($this->lang, $field, $field)); $fieldList[$field]['title'] = $title; }