sr-npm 1.7.814 → 1.7.815
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 +1 -1
package/package.json
CHANGED
package/pages/positionPage.js
CHANGED
|
@@ -99,7 +99,7 @@ async function getCategoryValueId(customFields) {
|
|
|
99
99
|
async function getRelatedJobs(categoryValueId,itemId) {
|
|
100
100
|
console.log("categoryValueId inside getRelatedJobs ", categoryValueId);
|
|
101
101
|
console.log("type of categoryValueId: ", typeof categoryValueId);
|
|
102
|
-
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]).
|
|
102
|
+
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]).ne(JOBS_COLLECTION_FIELDS.ID,itemId).find();
|
|
103
103
|
console.log("relatedJobs@@$@$@$#$@: ", relatedJobs);
|
|
104
104
|
return relatedJobs.items;
|
|
105
105
|
}
|