sr-npm 1.7.1008 → 1.7.1009
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
|
@@ -68,6 +68,7 @@ async function handleUrlParams(_$w,urlParams) {
|
|
|
68
68
|
keywordAllJobs=_$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.JOB_RESULTS_REPEATER).data;
|
|
69
69
|
}
|
|
70
70
|
console.log("possibleUrlParams: ",possibleUrlParams)
|
|
71
|
+
console.log("urlParams: ",urlParams)
|
|
71
72
|
for (const url of possibleUrlParams)
|
|
72
73
|
{
|
|
73
74
|
console.log(url)
|
|
@@ -339,7 +340,7 @@ async function loadJobsRepeater(_$w) {
|
|
|
339
340
|
if (selected && selected.length) {
|
|
340
341
|
selectedByField.set(field._id, selected);
|
|
341
342
|
console.log("url calues: ",{ fieldTitle : selected.map(val=>encodeURIComponent(val)).join(',') });
|
|
342
|
-
queryParams.add({ fieldTitle : selected.map(val=>encodeURIComponent(val)).join(',') });
|
|
343
|
+
queryParams.add({ [fieldTitle] : selected.map(val=>encodeURIComponent(val)).join(',') });
|
|
343
344
|
} else {
|
|
344
345
|
selectedByField.delete(field._id);
|
|
345
346
|
console.log("url values to remove: ",fieldTitle);
|