Hiding facets if only one value is available
Is it possible to hide a facet from the UI if only one facet value exists? If there is only one facet value in a facet our users feel it is not need to show the facet.
You can do
You could register a `deferredQuerySuccess` (doc) event handler to check the number of values and collapse/expand or hide/display the facets. Make sure to register your event handler inside an `afterInitialization` (doc) event handler. This ensures the facets update their DOM before your event handler is executed.