* Adjust the direction for sorting.

This commit is contained in:
daitingting
2023-11-07 02:01:32 +00:00
parent a5ea321aad
commit 62dc601bae
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ function changeItem()
var orderBy = $('[name="orderBy"]').val();
var type = browseType == 'bysearch' ? 'all' : browseType;
link = $.createLink('company', 'dynamic', 'browseType=' + type + '&param=&recTotal=0&date=&direction=' + direction + '&userID=' + userID + '&productID=' + productID + '&projectID=' + projectID + '&executionID=' + executionID + '&orderBy=' + orderBy);
link = $.createLink('company', 'dynamic', 'browseType=' + type + '&param=&recTotal=0&date=&direction=no&userID=' + userID + '&productID=' + productID + '&projectID=' + projectID + '&executionID=' + executionID + '&orderBy=' + orderBy);
loadPage(link);
}
+1 -2
View File
@@ -11,13 +11,12 @@ declare(strict_types=1);
namespace zin;
jsVar('browseType', $browseType);
jsVar('direction', $direction);
/* zin: Define the feature bar on main menu. */
featureBar
(
set::current($browseType),
set::linkParams("browseType={key}&param={$param}&recTotal=0&date=&direction={$direction}&userID={$userID}&productID={$productID}&projectID={$projectID}&executionID={$executionID}&orderBy={$orderBy}"),
set::linkParams("browseType={key}&param={$param}&recTotal=0&date=&direction=next&userID={$userID}&productID={$productID}&projectID={$projectID}&executionID={$executionID}&orderBy={$orderBy}"),
li
(
setClass('w-28 ml-4'),