Hi team,

Firstly, thank you everyone for working hard to create this module, help others in need. :)
I am using facets module, and facet summary module on my search results page.

Requirement

We need to show the count on facets, but not on facets summary block.

Problem/Motivation

If I enable "Show the amount of results" on Facets settings form, and disable "SHOW COUNTS" for the facet on facet summary settings form, facet summary overrides the setting. As a result of this, I am not seeing the count on facets. However, If I enable the "SHOW COUNTS" for the facet on facet summary settings form, I start seeing the count on both the blocks, i.e. the Facets block and the facets summary block.

Proposed resolution

I believe, Facets and facets summary should be decoupled, and should not interfere in the working of facets.

Happy to help and provide more info.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

vaibhavjain created an issue. See original summary.

borisson_’s picture

Priority: Normal » Major
Issue tags: +beta blocker

@Aspilicous just reproduced this. Tagging this as a beta blocker, it's not an explicit API change but the behavior here is very much unpredictable.

aspilicious’s picture

Yeah, same conclusion, we noticed that the facets get rendered twice when the summary is enabled.

borisson_’s picture

Status: Active » Needs review
FileSize
3.02 KB
7.73 KB

This should fix this.

borisson_’s picture

Fixed some docs.

aspilicious’s picture

Status: Needs review » Reviewed & tested by the community

fixed the issue :)

  • borisson_ committed ecffe40 on 8.x-1.x
    Issue #2873523 by borisson_: Facet summary show count should work...
borisson_’s picture

Status: Reviewed & tested by the community » Fixed

Committed this, thanks for confirming.

Status: Fixed » Closed (fixed)

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