sr-npm 1.7.1091 → 1.7.1092
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
|
@@ -250,12 +250,13 @@ async function handleParams(_$w,param,values) {
|
|
|
250
250
|
selectedByField.delete(fieldId);
|
|
251
251
|
queryParams.remove([fieldTitle ]);
|
|
252
252
|
}
|
|
253
|
-
|
|
254
|
-
console.log("inside loadSelectedValuesRepeater ActivateURLOnchange after: ",ActivateURLOnchange);
|
|
253
|
+
|
|
255
254
|
const currentVals = _$w(`#${FiltersIds[field.title]}CheckBox`).value || [];
|
|
256
255
|
const nextVals = currentVals.filter(v => v !== valueId);
|
|
257
256
|
_$w(`#${FiltersIds[field.title]}CheckBox`).value = nextVals;
|
|
258
257
|
await updateJobsAndNumbersAndFilters(_$w);
|
|
258
|
+
ActivateURLOnchange=true;
|
|
259
|
+
console.log("inside loadSelectedValuesRepeater ActivateURLOnchange after: ",ActivateURLOnchange);
|
|
259
260
|
});
|
|
260
261
|
});
|
|
261
262
|
updateSelectedValuesRepeater(_$w);
|
|
@@ -369,10 +370,11 @@ async function loadJobsRepeater(_$w) {
|
|
|
369
370
|
selectedByField.delete(field._id);
|
|
370
371
|
queryParams.remove([fieldTitle ]);
|
|
371
372
|
}
|
|
372
|
-
|
|
373
|
-
console.log("inside checkbox onChange ActivateURLOnchange after: ",ActivateURLOnchange);
|
|
373
|
+
|
|
374
374
|
console.log("selectedByField: ",selectedByField)
|
|
375
375
|
await updateJobsAndNumbersAndFilters(_$w);
|
|
376
|
+
ActivateURLOnchange=true;
|
|
377
|
+
console.log("inside checkbox onChange ActivateURLOnchange after: ",ActivateURLOnchange);
|
|
376
378
|
});
|
|
377
379
|
const runFilter = debounce(() => {
|
|
378
380
|
const query = (_$w(`#${FiltersIds[field.title]}input`).value || '').toLowerCase().trim();
|
|
@@ -528,8 +530,6 @@ function handlePaginationButtons(_$w)
|
|
|
528
530
|
}
|
|
529
531
|
|
|
530
532
|
function handlePageUrlParam() {
|
|
531
|
-
console.log("inside handlePageUrlParam ActivateURLOnchange before: ",ActivateURLOnchange);
|
|
532
|
-
ActivateURLOnchange=false;
|
|
533
533
|
if(pagination.currentPage==1)
|
|
534
534
|
{
|
|
535
535
|
|
|
@@ -538,8 +538,6 @@ function handlePageUrlParam() {
|
|
|
538
538
|
else{
|
|
539
539
|
queryParams.add({ page: pagination.currentPage });
|
|
540
540
|
}
|
|
541
|
-
console.log("inside handlePageUrlParam ActivateURLOnchange after: ",ActivateURLOnchange);
|
|
542
|
-
ActivateURLOnchange=true;
|
|
543
541
|
}
|
|
544
542
|
async function refreshFacetCounts(_$w,clearAll=false) {
|
|
545
543
|
|