Views Exposed Filter: MissingMandatoryParametersException with BEF Sort Links

Created on 4 October 2023, about 1 year ago
Updated 25 April 2024, 8 months ago

When using Views exposed Sort links on an Ajax-enabled View, ajax calls are not working both for links and paginations.
An error is being rendered
Noticed exception 'Symfony\Component\Routing\Exception\MissingMandatoryParametersException' with message 'Some mandatory parameters are missing ("arg_0") to generate a URL for route

Steps to reproduce

  • PHP 8.1
  • Drupal 9.5.11
  • Better Exposed Filters 6.0.x
  1. Create a view with sort criteria
  2. Include Pagination
  3. Set "Exposed Form" to Better Exposed Filters
    In Exposed Sort Settings, under 'Display exposed sort options as' select links
  4. Make sure View ajax setting is enabled
  5. Save View
  1. Visit search page and click on pagination or the exposed sort link ajax doesnot work
🐛 Bug report
Status

Fixed

Version

6.0

Component

Code

Created by

🇮🇳India Deepthi kumari

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024