From 3b385652d4b93ca2f35f5761eea8c093fa74d0eb Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Thu, 9 Jan 2025 16:22:50 +0800 Subject: [PATCH] * [bug#59113] Show the story title instead of id. --- module/testtask/ui/cases.html.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/testtask/ui/cases.html.php b/module/testtask/ui/cases.html.php index 9178ac8477..97281b02af 100644 --- a/module/testtask/ui/cases.html.php +++ b/module/testtask/ui/cases.html.php @@ -146,7 +146,8 @@ if($canBatchAction) } $cols = $this->loadModel('datatable')->getSetting('testtask'); -if(isset($cols['id']['name'])) $cols['id']['name'] = 'case'; +if(isset($cols['id']['name'])) $cols['id']['name'] = 'case'; +if(isset($cols['story']['name'])) $cols['story']['name'] = 'storyTitle'; if(isset($cols['title']) && !isset($cols['id'])) $cols['title']['checkbox'] = true; if(isset($cols['title']['link']['params'])) $cols['title']['link']['params'] = 'caseID={case}&version={version}&from=testtask&taskID=' . $task->id; if(isset($cols['bugs']['link']['params'])) $cols['bugs']['link']['params'] = 'id={id}';