Currently there is a way to hide the facets block when an item is selected by using the "Do not display active items" filter in the facet configuration.

What I'm hoping to do is the opposite - display the full facet block even if an item is active, e.g.

Stage 1:

  • Term 1
  • Term 2

Stage 2:

  • x Term 1
  • Term 2

It seems relatively straight-forward but I'm sure it isn't. I'm happy to work on a patch if you also think it's a useful feature but would appreciate a pointer to where to start - whether this should be done as a filter, a setting in the facet, or the block configuration, etc

Comments

derekwebb1’s picture

My understanding was that facetapi took care of this.

checker’s picture

I'm also searching for this and I can't find how to make it possible.

checker’s picture

Still searching for this feature. I'm using search_api_db is this feature only available to other platforms?

merilainen’s picture

Shouldn't it be visible if you choose OR instead of AND as the Operator? I don't see any point using AND with an inactive (empty) facet. Naturally this depends on the values if the indexed entity can only have one of them or several.

checker’s picture

Status: Active » Closed (works as designed)

I guess it is not a search_api thing and closing this.
@see #1669600: How to display inactive items of the origin query without filters