* Fix close casetype switch link bug.

This commit is contained in:
wangyuting
2023-07-14 14:24:44 +08:00
parent 0c8ba58710
commit 5aee93ed28
+4 -1
View File
@@ -113,7 +113,10 @@ featureBar
set::title($currentTypeName),
set::items($caseTypeItems),
set::activeKey($caseType),
set::link($this->createLink('testcase', 'browse', "productID=$productID&branch=$branch&browseType=$browseType&param=$param")),
set::link
(
$rawMethod == 'groupcase' ? $this->createLink('testcase', 'groupcase', "productID=$productID&branch=$branch&groupBy=$groupBy&projectID=$projectID") : $this->createLink('testcase', 'browse', "productID=$productID&branch=$branch&browseType=$browseType&param=$param")
),
set::closeLink('#'),
)
) : null,