sr-npm 1.7.1012 → 1.7.1014
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
|
@@ -81,39 +81,6 @@ async function handleUrlParams(_$w,urlParams) {
|
|
|
81
81
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
// if(urlParams.brand) {
|
|
85
|
-
// applyFiltering=await handleParams(_$w,"brand",urlParams.brand)
|
|
86
|
-
// }
|
|
87
|
-
// if(urlParams.location) {
|
|
88
|
-
// applyFiltering=await handleParams(_$w,"location",urlParams.location)
|
|
89
|
-
// }
|
|
90
|
-
// if(urlParams.employmentType) {
|
|
91
|
-
// applyFiltering=await handleParams(_$w,"employmentType",urlParams.employmentType)
|
|
92
|
-
// }
|
|
93
|
-
// if(urlParams.contractType) {
|
|
94
|
-
// applyFiltering=await handleParams(_$w,"contractType",urlParams.contractType)
|
|
95
|
-
// }
|
|
96
|
-
// if(urlParams.visibility) {
|
|
97
|
-
// applyFiltering=await handleParams(_$w,"visibility",urlParams.visibility)
|
|
98
|
-
// }
|
|
99
|
-
// if(urlParams.category) {
|
|
100
|
-
// console.log("category url param is present ",urlParams.category);
|
|
101
|
-
|
|
102
|
-
// applyFiltering=await handleParams(_$w,"category",urlParams.category)
|
|
103
|
-
// }
|
|
104
|
-
// if(urlParams.companySegment) {
|
|
105
|
-
// console.log("companySegment url param is present ",urlParams.companySegment);
|
|
106
|
-
|
|
107
|
-
// applyFiltering=await handleParams(_$w,"companySegment",urlParams.companySegment)
|
|
108
|
-
// }
|
|
109
|
-
// if(urlParams.storeName) {
|
|
110
|
-
// console.log("storeName url param is present ",urlParams.storeName);
|
|
111
|
-
|
|
112
|
-
// applyFiltering=await handleParams(_$w,"storeName",urlParams.storeName)
|
|
113
|
-
// }
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
84
|
if(applyFiltering || keywordAllJobs) {
|
|
118
85
|
await updateJobsAndNumbersAndFilters(_$w);
|
|
119
86
|
}
|
|
@@ -339,6 +306,7 @@ async function loadJobsRepeater(_$w) {
|
|
|
339
306
|
console.log("ev.target: ",ev.target)
|
|
340
307
|
let fieldTitle=field.title.toLowerCase().replace(' ', '');
|
|
341
308
|
fieldTitle==="brands"? fieldTitle="brand":fieldTitle;
|
|
309
|
+
console.log("fieldTitle that is going to url: ",fieldTitle);
|
|
342
310
|
|
|
343
311
|
if (selected && selected.length) {
|
|
344
312
|
selectedByField.set(field._id, selected);
|