sr-npm 1.7.1271 → 1.7.1272

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.1271",
3
+ "version": "1.7.1272",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -285,7 +285,8 @@ async function handleParams(_$w,param,values) {
285
285
  const currentQueryParams=await location.query();
286
286
  if(currentQueryParams.page)
287
287
  {
288
- queryParams.remove(["page"]);
288
+ //queryParams.remove(["page"]);
289
+ queryParams.add({ page: 1 });
289
290
  }
290
291
  const fieldId = itemData.fieldId;
291
292
  const valueId = itemData.valueId;
@@ -413,7 +414,9 @@ async function loadJobsRepeater(_$w) {
413
414
  const currentQueryParams=await location.query();
414
415
  if(currentQueryParams.page)
415
416
  {
416
- queryParams.remove(["page"]);
417
+ //try instead of removing to add page = 1
418
+ //queryParams.remove(["page"]);
419
+ queryParams.add({ page: 1 });
417
420
  }
418
421
  dontUpdateThisCheckBox=field._id;
419
422
  const selected = ev.target.value; // array of selected value IDs