* Fix the links of the buttons in the feature bar on the product story list page.
This commit is contained in:
@@ -145,7 +145,7 @@ class product extends control
|
||||
$project = $this->loadModel('project')->getByID($projectID);
|
||||
$branchID = $this->productZen->getBranchID($product, $branch);
|
||||
$orderBy = $orderBy ? $orderBy : $cookieOrderBy;
|
||||
$branch = $branchID ?? $branch;
|
||||
$branch = $branchID ? $branchID : $branch;
|
||||
|
||||
/* ATTENTION: be careful to change the order of follow sentences. */
|
||||
$this->productZen->setMenu4Browse($projectID, $productID, $branch, $storyType);
|
||||
|
||||
@@ -195,12 +195,7 @@ $fnGenerateSideBar();
|
||||
featureBar
|
||||
(
|
||||
set::current($browseType),
|
||||
set::linkParams("productID={$productID}&browseType={key}"),
|
||||
set::moreMenuLinkCallback(function($browseType) use($projectIDParam, $productID, $branch, $storyType)
|
||||
{
|
||||
global $app;
|
||||
return createLink($app->rawModule, $app->rawMethod, $projectIDParam . "productID=$productID&branch=$branch&browseType={$browseType}¶m=0&storyType=$storyType");
|
||||
}),
|
||||
set::link(createLink($app->rawModule, $app->rawMethod, $projectIDParam . "productID=$productID&branch=$branch&browseType={key}¶m=$param&storyType=$storyType&orderBy=$orderBy&recTotal=$recTotal&recPerPage=$recPerPage&pageID=$pageID&projectID=$projectID")),
|
||||
li(searchToggle(set::module('story')))
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user