sr-npm 1.7.615 → 1.7.616
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
|
@@ -241,12 +241,15 @@ async function refreshFacetCounts(_$w) {
|
|
|
241
241
|
console.log("currentoptions@@@@@@@@@@@@@: ",currentoptions)
|
|
242
242
|
let counter=new Map();
|
|
243
243
|
for(const option of currentoptions) {
|
|
244
|
+
console.log("currentJobs length: ",currentJobs.length)
|
|
244
245
|
for (const jobId of currentJobs) {
|
|
245
246
|
if (valueToJobs[option.value].includes(jobId)) {
|
|
246
247
|
counter.set(option.value, (counter.get(option.value) || 0) + 1);
|
|
247
248
|
}
|
|
248
249
|
}
|
|
249
250
|
}
|
|
251
|
+
console.log("counter: ",counter)
|
|
252
|
+
console.log("fieldId: ",fieldId)
|
|
250
253
|
countsByFieldId.set(fieldId, counter);
|
|
251
254
|
}
|
|
252
255
|
console.log("new countsByFieldId: ",countsByFieldId)
|