fix for ajax call error

This commit is contained in:
Josh d'Entremont 2023-10-10 15:31:45 -03:00
parent 4c8c26f4b2
commit b76df3f12a
2 changed files with 2 additions and 1 deletions

View file

@ -125,7 +125,7 @@ class AjaxBlocksController extends ControllerBase {
// Rebuild the request and the current path, needed for facets.
$path = $request->request->get('link');
$blocks = $request->request->get('blocks');
$blocks = $request->request->all('blocks');
// Make sure we are not updating blocks multiple times.
$blocks = array_unique($blocks);