Allow views AJAX history to be updated by (facet) checkboxes

Created on 20 October 2021, about 3 years ago
Updated 11 June 2024, 6 months ago

Problem/Motivation

In 🐛 Render using theme input and select instead of lists with links for checkboxes and dropdown Needs review there is an effort being made to make facet more accessible by using actual checkboxes instead of links. Using the patch, the views AJAX history module is no longer updating the URL.

Proposed resolution

Allow views AJAX history to be updated by checkboxes.

Remaining tasks

- Write patch
- Review
- Commit

User interface changes

None

API changes

None

Data model changes

None

Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

🇳🇱Netherlands seanB Netherlands

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

Merge Requests

Comments & Activities

Not all content is available!

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

  • First commit to issue fork.
  • 🇳🇱Netherlands seanB Netherlands

    Reroll for latest version.

  • Status changed to Needs work 6 months ago
  • 🇬🇧United Kingdom scott_euser

    Won't this then apply also to non-facets? Ie, if I:

    1. Create a view with exposed filter for a taxonomy reference field
    2. Use better exposed filters to set that exposed filter to display as a series of checkboxes
    3. Click a checkbox using the view

    If the Views Exposed Form is not using auto-submit, I would expect it to not add to the history state until I click apply. So I believe this code needs to opt-in via the Facet settings?

Production build 0.71.5 2024