Skip to content

Commit 2927583

Browse files
committed
Merge branch 'fix_keep_zero_facets' of github.com:meilisearch/instant-meilisearch into fix_keep_zero_facets
2 parents aa1bb93 + 26c295d commit 2927583

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/adapter/search-response-adapter/facet-distribution-adapter.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ function getFacetNames(
99
}
1010

1111
// Fills the missing facetValue in the current facet distribution if `keepZeroFacet` is true
12-
// using the initial facet distribution.
13-
// Ex:
12+
// using the initial facet distribution. Ex:
13+
//
1414
// Initial distribution: { genres: { horror: 10, comedy: 4 } }
1515
// Current distribution: { genres: { horror: 3 }}
16-
// returned distribution: { genres: { horror: 3, comedy: 0 }}
16+
// Returned distribution: { genres: { horror: 3, comedy: 0 }}
1717
function fillMissingFacetValues(
1818
facets: SearchContext['facets'] | string,
1919
initialFacetDistribution: FacetDistribution,

0 commit comments

Comments
 (0)