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
|
@@ -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
|
|
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);
|