Skip to content
Snippets Groups Projects

Issue #3052574: Facets with AJAX not working in most of situations

1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
@@ -102,9 +102,10 @@ class FacetBlock extends BlockBase implements ContainerFactoryPluginInterface {
'#attributes' => [
'class' => ['block-facet__wrapper'],
],
$facet_build,
];
$build = array_merge($facet_build, $build);
// Add css classes.
if (!empty($facet_build[0]['#attributes']['class'])) {
$css_classes = $facet_build[0]['#attributes']['class'];
Loading