* testcase: render the stage column by a function, fix bug #110284.

This commit is contained in:
liugang
2024-01-03 14:08:40 +08:00
parent c71393e49c
commit 0330fb765e
2 changed files with 1 additions and 6 deletions
+1
View File
@@ -50,6 +50,7 @@ $config->testcase->dtable->fieldList['status']['sortType'] = true;
$config->testcase->dtable->fieldList['stage']['title'] = $lang->testcase->stage;
$config->testcase->dtable->fieldList['stage']['type'] = 'text';
$config->testcase->dtable->fieldList['stage']['map'] = "RAWJS<(value) => {const stageList = JSON.parse('" . json_encode($lang->testcase->stageList) . "'); return value.split(',').map((v) => stageList[v]).join('{$lang->comma}');}>RAWJS";
$config->testcase->dtable->fieldList['stage']['group'] = 2;
$config->testcase->dtable->fieldList['stage']['sortType'] = true;