From db929dd8a8ea80b899429128a7dd2aed3ea612d8 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Tue, 7 Nov 2023 14:32:04 +0800 Subject: [PATCH] * Set active item in testtask::browseUnits. --- module/testtask/ui/browseunits.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testtask/ui/browseunits.html.php b/module/testtask/ui/browseunits.html.php index 6bd2d0b4ff..625a296728 100644 --- a/module/testtask/ui/browseunits.html.php +++ b/module/testtask/ui/browseunits.html.php @@ -25,7 +25,7 @@ if($canSwitch) $url = createLink('testcase', 'browse', "productID={$product->id}&branch=&browseType=all¶m=0&caseType={$type}"); } - $caseTypeItems[] = array('text' => $typeName ?: $lang->testcase->allType, 'url' => $url); + $caseTypeItems[] = array('text' => $typeName ?: $lang->testcase->allType, 'url' => $url, 'active' => $type == 'unit'); } }