* [bug#68205,done,1h] Do not set browse ment when it is from document.

This commit is contained in:
daitingting
2025-12-22 14:39:46 +08:00
parent 723cc86669
commit b7626ecb2d
+1 -1
View File
@@ -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';