* Adjust the direction for sorting.
This commit is contained in:
@@ -13,7 +13,7 @@ function changeItem()
|
||||
var orderBy = $('[name="orderBy"]').val();
|
||||
|
||||
var type = browseType == 'bysearch' ? 'all' : browseType;
|
||||
link = $.createLink('company', 'dynamic', 'browseType=' + type + '¶m=&recTotal=0&date=&direction=' + direction + '&userID=' + userID + '&productID=' + productID + '&projectID=' + projectID + '&executionID=' + executionID + '&orderBy=' + orderBy);
|
||||
link = $.createLink('company', 'dynamic', 'browseType=' + type + '¶m=&recTotal=0&date=&direction=no&userID=' + userID + '&productID=' + productID + '&projectID=' + projectID + '&executionID=' + executionID + '&orderBy=' + orderBy);
|
||||
loadPage(link);
|
||||
}
|
||||
|
||||
|
||||
@@ -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}¶m={$param}&recTotal=0&date=&direction={$direction}&userID={$userID}&productID={$productID}&projectID={$projectID}&executionID={$executionID}&orderBy={$orderBy}"),
|
||||
set::linkParams("browseType={key}¶m={$param}&recTotal=0&date=&direction=next&userID={$userID}&productID={$productID}&projectID={$projectID}&executionID={$executionID}&orderBy={$orderBy}"),
|
||||
li
|
||||
(
|
||||
setClass('w-28 ml-4'),
|
||||
|
||||
Reference in New Issue
Block a user