mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 00:31:02 +00:00
Add the count to the facet distribution
This commit is contained in:
@ -57,7 +57,7 @@ $('#query, #filters').on('input', function () {
|
||||
}
|
||||
|
||||
// Create the newly discovered facets
|
||||
let diff = diffArray(data.facets[facet_name], selected_values);
|
||||
let diff = diffArray(Object.keys(data.facets[facet_name]), selected_values);
|
||||
for (value of diff) {
|
||||
let option = $('<option></option>')
|
||||
.text(value)
|
||||
|
Reference in New Issue
Block a user