Skip to content
Snippets Groups Projects

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

4 files
+ 22
43
Compare changes
  • Side-by-side
  • Inline
Files
4
  • * origin/2.0.x:
      Issue #3327629: Replace custom assertCacheabillityArrays with PHPUnit's assertEqualsCanonicalizing
      Issue #3327604 by anoopsingh92, mkalkbrenner: Grammatical errors and warnings in the README.md file
      Issue #3310536 by nkoporec, idebr, joan gutierrez, chr.fritsch, uverricardovidaleszu, borisson_, mkalkbrenner: [2.0.x] $request->get may no longer return array as of Symfony 6.0 (BadRequestException)
      Issue #3327613: [3.0.x] Fix test failure: Unknown themes: classy
@@ -117,7 +117,7 @@ class FacetBlockAjaxController extends ControllerBase {
// Rebuild the request and the current path, needed for facets.
$path = $request->request->get('facet_link');
$facets_blocks = $request->request->get('facets_blocks');
$facets_blocks = $request->request->all()['facets_blocks'] ?? [];
if (empty($path) || empty($facets_blocks)) {
throw new NotFoundHttpException('No facet link or facet blocks found.');
Loading