sr-npm 1.7.760 → 1.7.761

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.760",
3
+ "version": "1.7.761",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -16,11 +16,13 @@ let currentJobs=[] // current jobs that are displayed in the jobs repeater
16
16
  let allsecondarySearchJobs=[] // secondary search results that are displayed in the jobs repeater
17
17
  let currentSecondarySearchJobs=[] // current secondary search results that are displayed in the jobs repeater
18
18
  let secondarySearchIsFilled=false // whether the secondary search is filled with results
19
+ let originalQueryParamas;
19
20
  const pagination = {
20
21
  pageSize: 10,
21
22
  currentPage: 1,
22
23
  };
23
24
  async function careersMultiBoxesPageOnReady(_$w,urlParams) {
25
+ originalQueryParamas=urlParams;
24
26
  await loadData(_$w);
25
27
  await loadJobsRepeater(_$w);
26
28
  await loadPrimarySearchRepeater(_$w);
@@ -53,6 +55,7 @@ async function loadPrimarySearchRepeater(_$w) {
53
55
  $item(CAREERS_MULTI_BOXES_PAGE_CONSTS.PRIMARY_SEARCH_CATEGORY_BUTTON).label = itemData.title || '';
54
56
  $item(CAREERS_MULTI_BOXES_PAGE_CONSTS.PRIMARY_SEARCH_CATEGORY_BUTTON).onClick(async () => {
55
57
  location.to(`/search?category=${itemData._id}`);
58
+ await handleUrlParams(_$w,originalQueryParamas);
56
59
  });
57
60
  });
58
61
  }