This commit is contained in:
leiyong
2024-01-30 07:45:49 +00:00
parent 6add111a3f
commit ac37c7f889
2 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ class datatableModel extends model
if(!isset($set['name'])) $setting[$field]['name'] = $field;
if($module == 'testcase' && $field == 'id') $setting[$field]['name'] = 'caseID';
if($field == 'actions' && empty($setting[$field]['width'])) $setting[$field]['width'] = $fieldList[$field]['width'];
if(in_array($module, array('project', 'execution')) and empty($this->config->setCode)) unset($setting['code']);
if(in_array($module, array('product', 'project', 'execution')) and empty($this->config->setCode)) unset($setting['code']);
}
}