Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
Is it possible to display facets in mini panels? In the Panels UI I can see all the facets under category Facet API, but none of them show when placed in a pane. Do I need to require a specific context or similar for that to work?
Thanks, J.
Comments
Comment #2
sidharth_k CreditAttribution: sidharth_k commentedI am also facing the same problem. Facets put into mini-panels don't display for some reason. Facet panes put into the page display properly.
The function seems to be returning FALSE for facetapi_is_active_searcher($searcher) for some reason. Why is the facetapi not active within the mini-panel is a mystery to me. Is there some context I need to add to the mini-panel?
Comment #3
NWOM CreditAttribution: NWOM commentedMost likely the facets do not show, since the facets were placed after the View, but instead need to be placed before. There is however a patch that can fix this and allow adding the facet pane to be placed anywhere on the same page: #2577141: 'render last' and 'render first' attributes on panes in mini panel should trickle up to parent panel.