ajax_page_state query params in facets_summary reset string link

Created on 3 April 2024, 16 days ago
Updated 9 April 2024, 10 days ago


I am getting a problem similar to 🐛 Ajax state leaking to Views destination paths Fixed .
Since we upgrade to Drupal 10.1, our facet reset link contains a lot AJAX GET parameters:

Steps to reproduce

Add facets and a facet summary block with a reset link on a view with AJAX.
Select a facet.
The reset link appear but has ajax_page_state query parameters.

Proposed resolution

The easiest way to avoid this would probably be to unset ajax_page_state before passing the parameters to the link (similar to this fix: https://git.drupalcode.org/project/drupal/-/commit/7b0afe899f3ca30ecf6fc...).

🐛 Bug report

Needs review





Created by

🇧🇪Belgium p-neyens

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

Merge Requests

Comments & Activities

Production build https://api.contrib.social 0.62.1