sr-npm 1.7.1270 → 1.7.1271

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.1270",
3
+ "version": "1.7.1271",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -282,6 +282,11 @@ async function handleParams(_$w,param,values) {
282
282
  $item(CAREERS_MULTI_BOXES_PAGE_CONSTS.SELECTED_VALUES_REPEATER_ITEM_LABEL).text = itemData.label || '';
283
283
  // Deselect this value from both the selected map and the multibox
284
284
  $item(CAREERS_MULTI_BOXES_PAGE_CONSTS.DESELECT_BUTTON_ID).onClick(async () => {
285
+ const currentQueryParams=await location.query();
286
+ if(currentQueryParams.page)
287
+ {
288
+ queryParams.remove(["page"]);
289
+ }
285
290
  const fieldId = itemData.fieldId;
286
291
  const valueId = itemData.valueId;
287
292
  dontUpdateThisCheckBox=fieldId;
@@ -405,6 +410,11 @@ async function loadJobsRepeater(_$w) {
405
410
 
406
411
  _$w(`#${FiltersIds[field.title]}CheckBox`).selectedIndices = []; // start empty
407
412
  _$w(`#${FiltersIds[field.title]}CheckBox`).onChange(async (ev) => {
413
+ const currentQueryParams=await location.query();
414
+ if(currentQueryParams.page)
415
+ {
416
+ queryParams.remove(["page"]);
417
+ }
408
418
  dontUpdateThisCheckBox=field._id;
409
419
  const selected = ev.target.value; // array of selected value IDs
410
420
  let fieldTitle=field.title.toLowerCase().replace(' ', '');