Views exposed filter url_processor fails when building URls for non-page views display

Created on 25 March 2024, 8 months ago

Problem

I'm trying the latest HEAD (b578813c) of the 3.0.x branch and I can make a page view work with ajax+facets as exposed filters but when the view is not page, therefore it doesn't have a route, the ajax calls fails trying to build a non-existing view route.

Steps to reproduce

Setup a block view with ajax + facets as exposed filters with a summary block.

Proposed resolution

Use the current to build the URL. On page views it will be the proper URL without needing to build it and it will be the current route for the rest.
On ajax requests this route is `views.ajax` so maybe we can try to get the real URL with some technique like this:
https://drupal.stackexchange.com/questions/231744/how-to-get-current-rou...

Remaining tasks

Code

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇪🇸Spain rodrigoaguilera Barcelona

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024