sr-npm 1.7.810 → 1.7.811
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/positionPage.js +3 -1
package/package.json
CHANGED
package/pages/positionPage.js
CHANGED
|
@@ -96,7 +96,9 @@ async function getCategoryValueId(customFields) {
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
async function getRelatedJobs() {
|
|
99
|
-
|
|
99
|
+
console.log("categoryValueId inside getRelatedJobs ", categoryValueId);
|
|
100
|
+
console.log("type of categoryValueId: ", typeof categoryValueId);
|
|
101
|
+
const relatedJobs=await wixData.query(COLLECTIONS.JOBS).include(JOBS_COLLECTION_FIELDS.MULTI_REF_JOBS_CUSTOM_VALUES).hasSome(JOBS_COLLECTION_FIELDS.MULTI_REF_JOBS_CUSTOM_VALUES,[categoryValueId]).find();
|
|
100
102
|
console.log("relatedJobs@@$@$@$#$@: ", relatedJobs);
|
|
101
103
|
return relatedJobs.items;
|
|
102
104
|
}
|