I've created a search with Search API module and Facets module. I've added two taxonomy term name fields to my search index and created two facets for those fields. Just for testing I've placed the facet blocks in my main content area, and fulltext search and faceted filtering are working as expected.
Now I want to place the facet blocks in the header of the view, and not in a page region. I've checked the block source file and ID of the facet blocks is facet_block
. Facet blocks are derived blocks, so my best guess was that the block ID should be facet_block:MACHINE_NAME_OF_FACET
.
I've added a Global: Rendered entity - Block
to the header of the view. As block ID I've entered the schema from above, e.g. facet_block:museum
for my "museum" facet.
However, the facet block doesn't show in the views header. (The same facets placed via block layout still work fine.)
Can anybody tell me how to render facet blocks inside a view header?
(I'm looking for a no-code-solution, without preprocessing or editing templates)