Show dependent facet when active, but depending from not active

Created on 18 January 2018, almost 7 years ago
Updated 5 September 2024, 2 months ago

I have an issue witha dependent facet. On my site I have links to a facetted page. Those links are activating a facet that is only shown when another facet is active on a certain value. While the facet itself works (the content is being filtered correctly), the facet does not show. This also means that the facet cannot be deactivated.

I've written a patch that, when a facet is activated, it does not check the dependent facets anymore, and just outputs the results. I will add the patch in a bit.

πŸ› Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands fabianderijk Alphen aan den Rijn

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024