sr-npm 1.7.606 → 1.7.607

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.606",
3
+ "version": "1.7.607",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -235,7 +235,7 @@ async function refreshFacetCounts(_$w) {
235
235
  }
236
236
 
237
237
  const fieldIds = Array.from(optionsByFieldId.keys());
238
- for (const valueId of valueToJobs.keys()) {
238
+ for (const valueId of Object.keys(valueToJobs)) {
239
239
  for (const jobId of currentJobs) {
240
240
  if (valueToJobs[valueId].includes(jobId)) {
241
241
  countsByFieldId.set(valueId, (countsByFieldId.get(valueId) || 0) + 1);