sr-npm 1.7.759 → 1.7.760

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.759",
3
+ "version": "1.7.760",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -50,10 +50,9 @@ async function loadPrimarySearchRepeater(_$w) {
50
50
  });
51
51
 
52
52
  _$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.CATEGORY_RESULTS_REPEATER).onItemReady(async ($item, itemData) => {
53
- console.log("itemData#$@#$%@#$@#$@#$: ", itemData);
54
53
  $item(CAREERS_MULTI_BOXES_PAGE_CONSTS.PRIMARY_SEARCH_CATEGORY_BUTTON).label = itemData.title || '';
55
54
  $item(CAREERS_MULTI_BOXES_PAGE_CONSTS.PRIMARY_SEARCH_CATEGORY_BUTTON).onClick(async () => {
56
- location.to(`?category=${itemData._id}`);
55
+ location.to(`/search?category=${itemData._id}`);
57
56
  });
58
57
  });
59
58
  }
@@ -429,6 +428,7 @@ function primarySearch(_$w,query) {
429
428
  console.log("primary search query: ", query);
430
429
 
431
430
  let filteredJobs=alljobs.filter(job=>job.title.toLowerCase().includes(query));
431
+ console.log("filteredJobs.length: ", filteredJobs.length);
432
432
  if(filteredJobs.length>0) {
433
433
  alljobs=filteredJobs;
434
434
  _$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.PRIMARY_SEARCH_MULTI_BOX).changeState("jobResults");