Skip to content

Commit fcaab3a

Browse files
committed
fix(distiller): return unclustered facet value in addition to clustered facet value
1 parent 65788fc commit fcaab3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distiller.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ export class DataChunks {
435435
this.addFacet(facetName, (bundle) => {
436436
const facetMatch = facetValues.find((f) => f.entries.some((e) => e.id === bundle.id));
437437
const clusters = producer(facetMatch.value);
438-
return [facetMatch, ...clusters.filter((cluster) => sortedClusters.includes(cluster))];
438+
return [facetMatch.value, ...clusters.filter((cluster) => sortedClusters.includes(cluster))];
439439
});
440440
}
441441

0 commit comments

Comments
 (0)