Closed mulquin closed 2 years ago
Thanks! This can be get by new version itemsjs@2.1.20
thanks for adding this feature the only thing prevents using it : i show selected facet value always (even it has zero doc_count) reasons: to show user his choice made and to give possibility to cancel it I think it will be great to have option to hide all zero doc_count facet values but selected
This implements the second idea in #39. This PR adds the
hide_zero_doc_count
configuration value on aggregations that if set totrue
will exclude filters with 0 results.