Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There is a check in SearchApiMultiFacetapiTerm class that hides all facets that have a count of 0, even if the setting for that facet is set to show facets with a count of 0. The build should respect that setting
Comment | File | Size | Author |
---|---|---|---|
#2 | search-api-multi-facet-count-2863435-1.patch | 906 bytes | duellj |
Comments
Comment #2
duellj CreditAttribution: duellj at Metal Toad commentedAttached patch checks facet setting for facet display
Comment #3
heddnCode looks good. I wasn't able to fully test this manually since I didn't have any facets that were empty. But a pure code review seems to me this would work.
Comment #5
heddn