🇩🇪Germany @svenseeberg

Account created on 17 April 2023, over 1 year ago
#

Recent comments

🇩🇪Germany svenseeberg

I commented 2 lines in the src/Controller/FacetBlockAjaxController.php and now I do at least not get an error message:

<?php
    foreach ($facets_blocks as $block_id => $block_selector) {
      $block_entity = $this->storage->load($block_id);

      if ($block_entity) {
        // Render a block, then add it to the response as a replace command.
        $block_view = $this->entityTypeManager
          ->getViewBuilder('block')
          ->view($block_entity);
        //$block_view = (string) $this->renderer->renderPlain($block_view);
        //$response->addCommand(new ReplaceCommand($block_selector, $block_view));
      }
    }
?>

The request to /de/facets-block-ajax?_wrapper_format=drupal_ajax then returns a valid looking response with 200 OK. However, I'm not sure if the GUI is working as intended.

🇩🇪Germany svenseeberg

While it is nice to be able to adjust the label text, the patch provided by herve would be very useful for sites with multiple languages. Strings should always be translatable.

Production build 0.71.5 2024