sr-npm 1.7.653 → 1.7.654
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
|
@@ -89,6 +89,9 @@ async function loadJobs(_$w) {
|
|
|
89
89
|
_$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.FILTER_REPEATER).data = fields;
|
|
90
90
|
const cities=await getAllRecords(COLLECTIONS.CITIES);
|
|
91
91
|
console.log("cities: ",cities)
|
|
92
|
+
for(const city of cities) {
|
|
93
|
+
valueToJobs[city._id]=city.jobIds;
|
|
94
|
+
}
|
|
92
95
|
// 2) Load all values once and group them by referenced field
|
|
93
96
|
|
|
94
97
|
let valuesByFieldId = groupValuesByField(allvaluesobjects, CUSTOM_VALUES_COLLECTION_FIELDS.CUSTOM_FIELD);
|