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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

duellj created an issue. See original summary.

duellj’s picture

Status: Active » Needs review
FileSize
906 bytes

Attached patch checks facet setting for facet display

heddn’s picture

Status: Needs review » Reviewed & tested by the community

Code 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.

  • heddn committed f3a1a92 on 7.x-1.x authored by duellj
    Issue #2863435 by duellj, heddn: Empty facets hidden even if "minimum...
heddn’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.