* Fix bug#42588.

This commit is contained in:
xieqiyu
2024-02-01 14:23:07 +08:00
parent 2ccf89be91
commit c7520261c9
+2
View File
@@ -60,6 +60,8 @@ if($canSwitchCaseType)
$caseTypeItems = array();
foreach($lang->testcase->typeList as $type => $typeName)
{
if($rawMethod == 'groupcase' && $type == 'unit') continue;
if($canBrowseUnits && $type == 'unit')
{
$url = $this->createLink('testtask', 'browseUnits', "productID=$productID&browseType=newest&orderBy=id_desc&recTotal=0&recPerPage=20&pageID=1&projectID=$projectID");