From b7626ecb2ddae532ef0c5ab775c8b9fe1273e437 Mon Sep 17 00:00:00 2001 From: daitingting Date: Mon, 22 Dec 2025 14:39:46 +0800 Subject: [PATCH] * [bug#68205,done,1h] Do not set browse ment when it is from document. --- module/testcase/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testcase/control.php b/module/testcase/control.php index 3d7562a8c5..92bdeb55b9 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -112,7 +112,7 @@ class testcase extends control $this->testcaseZen->setBrowseCookie($productID, $branch, $browseType, (string)$param); $this->testcaseZen->setBrowseSession($productID, $branch, $moduleID, $browseType, $orderBy); - list($productID, $branch) = $this->testcaseZen->setBrowseMenu($productID, $branch, $projectID); + if($from != 'doc') list($productID, $branch) = $this->testcaseZen->setBrowseMenu($productID, $branch, $projectID); $currentModule = ($this->app->tab == 'project' && $from != 'doc' && $from != 'ai') ? 'project' : 'testcase'; $currentMethod = ($this->app->tab == 'project' && $from != 'doc' && $from != 'ai') ? 'testcase' : 'browse';