sr-npm 1.7.655 → 1.7.656
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
|
@@ -257,7 +257,7 @@ 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
|
-
if(job[filterByField].some(value=>values.includes(value._id))) {
|
|
260
|
+
if(values.includes(job[JOBS_COLLECTION_FIELDS.CITY_TEXT]) || job[filterByField].some(value=>values.includes(value._id))) {
|
|
261
261
|
if(!addedJobsIds.includes(job._id)) {
|
|
262
262
|
tempFilteredJobs.push(job);
|
|
263
263
|
addedJobsIds.push(job._id);
|