* [bug#51277,done,1h] modify saved query url.

This commit is contained in:
sunguangming
2024-06-18 13:40:30 +08:00
committed by 田淑杰
parent f25310515a
commit f499659a7d
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -105,10 +105,12 @@ $browseLink = createLink('testcase', 'browse', $linkParams);
if($app->tab == 'project') $browseLink = createLink('project', 'testcase', $linkParams);
if($rawMethod == 'browseunits') $browseLink = createLink('testtask', 'browseUnits', "productID=$productID&browseType={key}");
$queryMenuLink = createLink('testcase', 'browse', $projectParam . "productID=$productID&branch=$branch&browseType=bySearch&param={queryID}");
featureBar
(
set::linkParams($rawMethod == 'zerocase' || $rawMethod == 'browseunits' ? null : $linkParams),
set::link($rawMethod == 'zerocase' || $rawMethod == 'browseunits' ? $browseLink : null),
set::queryMenuLinkCallback(array(fn($key) => str_replace('{queryID}', (string)$key, $queryMenuLink))),
set::current($methodName == 'browse' ? $this->session->caseBrowseType : null),
set::load($load),
set::app($app->tab),