Problem/Motivation
When Adds reset facets link configuration is set to true in facet-summary configuration, there is no link visible on the facet summary block.
Steps to reproduce
1. Create a facet summary for by clicking on + Add facet summary
2. Then enable the configuration mention like above.
3. Add that summary block into any region (ex: Facet region).
4. Then select some facet items on product list page.
5. You will see the selected product in facet summary block but Reset All link will not be visible.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3173972-2.patch | 1.68 KB | timotej-pl |
Issue fork facets-3173972
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
timotej-pl CreditAttribution: timotej-pl at Agiledrop - Your Trusted Drupal Teammates commentedI tried to reproduce this issue, but on my environment it works just fine. The only thing is that you got to make sure that 'Reset facets link text' value under 'Adds reset facets link settings' is set, because if not, the reset link won't be displayed.
I created a patch that ignores that, if for some reason you don't want to set text in settings. It sets a default 'Reset' value to reset link.
Comment #3
borisson_Looks great, thanks @timotej-pl!
Comment #5
borisson_