sr-npm 1.7.727 → 1.7.728
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -58,7 +58,8 @@ async function handleUrlParams(_$w,urlParams) {
|
|
|
58
58
|
queryParams.remove(["page"]);
|
|
59
59
|
return;
|
|
60
60
|
}
|
|
61
|
-
|
|
61
|
+
console.log(" previous pagination.currentPage: ", pagination.currentPage);
|
|
62
|
+
pagination.currentPage=Number(urlParams.page);
|
|
62
63
|
console.log("(Number(urlParams.page)*pagination.pageSize).toString(); ", (Number(urlParams.page)*pagination.pageSize).toString());
|
|
63
64
|
let paginationCurrentText=Number(urlParams.page)*pagination.pageSize
|
|
64
65
|
let startSlicIndex=pagination.pageSize*(pagination.currentPage-1);
|
|
@@ -69,7 +70,6 @@ async function handleUrlParams(_$w,urlParams) {
|
|
|
69
70
|
endSlicIndex=currentJobs.length;
|
|
70
71
|
}
|
|
71
72
|
_$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.paginationCurrentText).text = paginationCurrentText.toString();
|
|
72
|
-
pagination.currentPage=Number(urlParams.page);
|
|
73
73
|
console.log("pagination.currentPage: ", pagination.currentPage);
|
|
74
74
|
console.log("slicing starting from: ", startSlicIndex);
|
|
75
75
|
console.log("slicing ending at: ", endSlicIndex);
|