Facets with ajax enabled and no source path results in /views/ajax?f... urls

Created on 15 July 2022, over 2 years ago
Updated 20 June 2024, 5 months ago

Problem/Motivation

I render a view, with ajax enabled and a couple of facets in a paragraph (so there is no source path).
Filtering still works, but when you check the generated links those are something like /views/ajax?f... instead of the URL of the current page.

This problem is more visible when using views_ajax_history. When the URL is updated and you refresh the page, this will result in a 404 error, since /views/ajax doesn't allow GET requests.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

🇧🇪Belgium JeroenT 🇧🇪

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024