sr-npm 1.7.703 → 1.7.704
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
|
@@ -17,7 +17,6 @@ const pagination = {
|
|
|
17
17
|
currentPage: 1,
|
|
18
18
|
};
|
|
19
19
|
async function careersMultiBoxesPageOnReady(_$w,urlParams) {
|
|
20
|
-
console.log("urlParams: ", urlParams);
|
|
21
20
|
await loadData(_$w);
|
|
22
21
|
await loadJobsRepeater(_$w);
|
|
23
22
|
await loadFilters(_$w);
|
|
@@ -33,11 +32,12 @@ async function careersMultiBoxesPageOnReady(_$w,urlParams) {
|
|
|
33
32
|
}
|
|
34
33
|
|
|
35
34
|
async function handleUrlParams(_$w,urlParams) {
|
|
36
|
-
if(urlParams.
|
|
35
|
+
if(urlParams.brand) {
|
|
37
36
|
const brandValue = decodeURIComponent(urlParams.Brand);
|
|
38
37
|
console.log("brandValue: ", brandValue);
|
|
39
38
|
console.log("selectedByField: ", selectedByField);
|
|
40
39
|
console.log("optionsByFieldId: ", optionsByFieldId);
|
|
40
|
+
//await updateJobsAndNumbersAndFilters(_$w);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
package/pages/careersPage.js
CHANGED
|
@@ -30,9 +30,8 @@ if(siteconfig===undefined) {
|
|
|
30
30
|
const queryResult = await wixData.query(COLLECTIONS.SITE_CONFIGS).find();
|
|
31
31
|
siteconfig = queryResult.items[0];
|
|
32
32
|
}
|
|
33
|
-
|
|
33
|
+
|
|
34
34
|
if(siteconfig.customFields==="true") {
|
|
35
|
-
console.log("queryParams$@#@$#@#$#$: ", queryParams);
|
|
36
35
|
await careersMultiBoxesPageOnReady(_$w,queryParams);
|
|
37
36
|
}
|
|
38
37
|
else{
|