- 🇮🇳India shabana.navas
I'm currently using the latest 2.0 version of Facets (2.0.6) and I'm forced to render my facets in my view page via twig:
<div class="facets"> {{ drupal_block('facet_block:facet1', wrapper=false) }} {{ drupal_block('facet_block:facet2', wrapper=false) }} {{ drupal_block('facet_block:facet3', wrapper=false) }} </div>
Rendering the facets this way doesn't work with Ajax and exposed filters. I've got BEF and whenever I try to sort or filter, the facets disappear. It loads fine on initial page load, after that it just disappears. Rendering the facet via the Block UI works just fine and the facets persist after each ajax request.
I've added tried the following different patches:
https://www.drupal.org/project/facets/issues/3052574 🐛 Facets with AJAX not working in most of situations Needs review
https://www.drupal.org/project/facets/issues/3013795 ✨ Robustify how ajax finds the facet block Needs reviewBut none of them have fixed the issue. Any ideas on what could be wrong?
can someone help me with this issue : https://www.drupal.org/project/facets/issues/3350613 🐛 Facet and Search and not working in Ajax view Active