Facets form block caches URL arguments

Created on 14 December 2021, over 2 years ago
Updated 3 February 2023, over 1 year ago

Problem/Motivation

In the parent issue fix the non-facets query params in URL were preserved. However, the facets form block is caching the URL of the Clear button.

Steps to reproduce

Go to a search page with facets form with Anonymous user and caches enabled.
Load the page with a random query param.
Check the clear button URL.
Load the page with a different query param.
Check the clear button URL. It still has the first query param.

Proposed resolution

Apply the 'url.query_args' cache context to the facets form block.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium keszthelyi Brussels

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.69.0 2024