sr-npm 1.7.163 → 1.7.164
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 +2 -2
- package/pages/homePage.js +2 -1
package/package.json
CHANGED
package/pages/careersPage.js
CHANGED
|
@@ -200,7 +200,7 @@ async function applyFilters(_$w, skipUrlUpdate = false) {
|
|
|
200
200
|
queryParams.add({ keyWord: filter.value });
|
|
201
201
|
}
|
|
202
202
|
if(filter.field === 'department'){
|
|
203
|
-
queryParams.add({ department: filter.value });
|
|
203
|
+
queryParams.add({ department: encodeURIComponent(filter.value) });
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
if(filter.field === 'remote') {
|
|
@@ -259,7 +259,7 @@ async function updateCount(_$w) {
|
|
|
259
259
|
|
|
260
260
|
async function handleDepartmentParam(_$w,department) {
|
|
261
261
|
console.log("handleDepartmentParam@@@@@", department);
|
|
262
|
-
const departmentValue = department
|
|
262
|
+
const departmentValue = decodeURIComponent(department);
|
|
263
263
|
|
|
264
264
|
|
|
265
265
|
|
package/pages/homePage.js
CHANGED
|
@@ -17,8 +17,9 @@ async function homePageOnReady(_$w,thisObject) {
|
|
|
17
17
|
$item('#teamButton').label = `View ${itemData.count} Open Positions`;
|
|
18
18
|
$item('#teamButton').onClick(()=>{
|
|
19
19
|
console.log("teamButton clicked@@@@@", itemData.title);
|
|
20
|
-
const department=itemData.title
|
|
20
|
+
const department = encodeURIComponent(itemData.title);
|
|
21
21
|
console.log("department##########", department);
|
|
22
|
+
|
|
22
23
|
location.to(`/positions?department=${department}`);
|
|
23
24
|
});
|
|
24
25
|
});
|