sr-npm 1.7.649 → 1.7.650
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
|
@@ -244,7 +244,7 @@ async function loadJobs(_$w) {
|
|
|
244
244
|
// console.log("values: ",values)
|
|
245
245
|
for(job of currentAllJobs) {
|
|
246
246
|
//console.log("job: ",job)
|
|
247
|
-
|
|
247
|
+
console.log("job[filterByField]: ",job[filterByField])
|
|
248
248
|
// console.log("job[filterByField].some(value=>values.includes(value))) ",job[filterByField].some(value=>values.includes(value._id)))
|
|
249
249
|
if(job[filterByField].some(value=>values.includes(value._id))) {
|
|
250
250
|
// console.log("!alreadyAddedJobs.includes(job._id) ",!alreadyAddedJobs.includes(job._id))
|
|
@@ -264,10 +264,11 @@ async function loadJobs(_$w) {
|
|
|
264
264
|
// }
|
|
265
265
|
}
|
|
266
266
|
//console.log("alreadyAddedJobs: ",alreadyAddedJobs)
|
|
267
|
-
console.log("newFilteredJobs: ",
|
|
268
|
-
|
|
267
|
+
console.log("newFilteredJobs: ",currentAllJobs)
|
|
268
|
+
console.log("newFilteredJobs length: ",currentAllJobs.length)
|
|
269
|
+
currentJobs=currentAllJobs;
|
|
269
270
|
// currentJobsIds=addedJobsIds;
|
|
270
|
-
_$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.JOBS_REPEATER).data =
|
|
271
|
+
_$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.JOBS_REPEATER).data = currentAllJobs;
|
|
271
272
|
|
|
272
273
|
// await q.find()
|
|
273
274
|
// .then(async (res) => { _$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.JOBS_REPEATER).data = res.items;
|