- Issue created by @kensae
- Merge request !179Only split $_REQUEST['view_args'] in args array if there's an actual argument → (Open) created by kensae
- Open on Drupal.org →Core: 10.2.x + Environment: PHP 8.1 & MySQL 8last update
9 months ago Waiting for branch to pass - 🇧🇪Belgium kensae
Problem #2 is caused by the fact I'm rendering the view with twig_tweak's function drupal_view, which calls the views_embed_view function. Because currently the SearchApiDisplay is searching for arguments on the url or the from the arguments in the ajax request, the argument set directly in views_embed_view are being ignored.
I've managed to get the original contextual arguments from the 'old_view' array from the ViewExecutable object. It seems a little dirty to me, but for now, it does the trick. - Open on Drupal.org →Core: 10.2.x + Environment: PHP 8.1 & MySQL 8last update
9 months ago Waiting for branch to pass - Open on Drupal.org →Core: 10.2.x + Environment: PHP 8.1 & MySQL 8last update
9 months ago Waiting for branch to pass - Status changed to Needs review
9 months ago 9:08am 6 March 2024