sr-npm 1.7.656 → 1.7.657

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.656",
3
+ "version": "1.7.657",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -257,6 +257,9 @@ async function loadJobs(_$w) {
257
257
  // AND across categories, OR within each category
258
258
  for (const [, values] of selectedByField.entries()) {
259
259
  for(job of finalFilteredJobs) {
260
+ console.log("job[JOBS_COLLECTION_FIELDS.CITY_TEXT]: ",job[JOBS_COLLECTION_FIELDS.CITY_TEXT])
261
+ console.log("values.includes(job[JOBS_COLLECTION_FIELDS.CITY_TEXT])",values.includes(job[JOBS_COLLECTION_FIELDS.CITY_TEXT]))
262
+
260
263
  if(values.includes(job[JOBS_COLLECTION_FIELDS.CITY_TEXT]) || job[filterByField].some(value=>values.includes(value._id))) {
261
264
  if(!addedJobsIds.includes(job._id)) {
262
265
  tempFilteredJobs.push(job);