Checkbox widget not displayed if "Hide facet when facet source is not rendered" is checked

Created on 8 December 2021, over 3 years ago
Updated 7 February 2025, 2 months ago

Problem/Motivation

Due to https://git.drupalcode.org/project/facets_form/-/blob/1.x/src/Plugin/fac...


$facet->id() => [
...
        '#access' => !empty($this->processedItems) && !$facet->getOnlyVisibleWhenFacetSourceIsVisible(),
...

If "Hide facet when facet source is not rendered" is checked, even on the page of a search API view from which the facets are done, then checkboxes are not displayed.

I will try to make a MR.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇫🇷France Grimreaper France 🇫🇷

Live updates comments and jobs are added and updated live.
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