When i use the "Current search" block, the facets i've used is shown in it. It would be nice with an option in the block configuration for the facet blocks to hide when they are used, since they only contain the filtered facet that is also shown in the current search block. I tried to set the "Minimum result count" to 2, but it did only affect the initial facet block after search, not when it has been used.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drunken monkey’s picture

Good idea!

I'll get to it, when I have more time.

drunken monkey’s picture

Status: Active » Needs review
FileSize
4.46 KB

How about this one?
All facets get a new option, "Show active facet links". If deactivated, the "(-) foo" links will vanish from the block. If there also are no additional facet links to click, the whole block won't be displayed.

drunken monkey’s picture

Status: Needs review » Fixed

Well, I'll just assume this serves your use case, then. Don't want this patch lying around too long.
=> Committed.

Status: Fixed » Closed (fixed)

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