sr-npm 1.7.138 → 1.7.139
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 +1 -1
- package/pages/careersPage.js +3 -5
package/package.json
CHANGED
package/pages/careersPage.js
CHANGED
|
@@ -171,7 +171,8 @@ function init(_$w) {
|
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
async function applyFilters(_$w) {
|
|
174
|
-
|
|
174
|
+
console.log("applyFilters");
|
|
175
|
+
console.log("after applyFilters_$w('#dropdownDepartment').value", _$w('#dropdownDepartment').value);
|
|
175
176
|
const dropdownFiltersMapping = [
|
|
176
177
|
{ elementId: '#dropdownDepartment', field: 'department', value: _$w('#dropdownDepartment').value },
|
|
177
178
|
{ elementId: '#dropdownLocation', field: 'cityText', value: _$w('#dropdownLocation').value },
|
|
@@ -256,12 +257,9 @@ async function updateCount(_$w) {
|
|
|
256
257
|
async function handleDepartmentParam(_$w,department) {
|
|
257
258
|
console.log("department inside handleDepartmentParam", department.replace('-', ' '));
|
|
258
259
|
_$w('#dropdownDepartment').value = department.replace('-', ' ');
|
|
259
|
-
|
|
260
|
-
// _$w('#dataset2').setFieldValue("title", department.replace('-', ' '));
|
|
261
|
-
// await _$w('#dataset2').save();
|
|
260
|
+
console.log("before applyFilters_$w('#dropdownDepartment').value", _$w('#dropdownDepartment').value);
|
|
262
261
|
|
|
263
262
|
await applyFilters(_$w);
|
|
264
|
-
// });
|
|
265
263
|
}
|
|
266
264
|
|
|
267
265
|
|