- 🇫🇷France prudloff Lille
Wouldn't this break AJAX facets?
If the block is not rendered at all, then the AJAX response won't find where to inject the facets if they reappear.
The user can select to "exclude empty facts", but if a block remains "facet-less" (this is, all facets are excluded in the current search) it will nevertheless be printed on-screen as an empty block.
- Create a facet block
- Add several facets and choose "exclude empty facets"
- Perform a search that will have all block facets excluded.
- The block is rendered (i.e.., if the block has styling or a title, it appears)
Don't build the block if the facets are all excluded.
This could be either a default behavior or exposed through the admin UI.
Needs review
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Wouldn't this break AJAX facets?
If the block is not rendered at all, then the AJAX response won't find where to inject the facets if they reappear.