sr-npm 1.7.646 → 1.7.648
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
|
@@ -233,15 +233,15 @@ async function loadJobs(_$w) {
|
|
|
233
233
|
|
|
234
234
|
async function applyJobFilters(_$w,filterByField) {
|
|
235
235
|
//let q = wixData.query(COLLECTIONS.JOBS)
|
|
236
|
-
console.log(
|
|
236
|
+
console.log(alljobs)
|
|
237
237
|
let newFilteredJobs=[]
|
|
238
238
|
let addedJobsIds=[]
|
|
239
|
-
|
|
239
|
+
console.log("selectedByField: ",selectedByField)
|
|
240
240
|
|
|
241
241
|
// AND across categories, OR within each category
|
|
242
242
|
for (const [, values] of selectedByField.entries()) {
|
|
243
243
|
// console.log("values: ",values)
|
|
244
|
-
for(job of
|
|
244
|
+
for(job of alljobs) {
|
|
245
245
|
//console.log("job: ",job)
|
|
246
246
|
//console.log("job[filterByField]: ",job[filterByField])
|
|
247
247
|
// console.log("job[filterByField].some(value=>values.includes(value))) ",job[filterByField].some(value=>values.includes(value._id)))
|