Fix facets summary pills with AJAX enabled

Created on 23 February 2023, over 1 year ago

Problem/Motivation

The facets summary pills that let you clear out the active facets are broken with ajax enabled. It looks like they're simply taking you to the AJAX path as a link instead of actually triggering an XHR request.

Steps to reproduce

  1. Setup a view
  2. Setup facets with a facet summary for the view
  3. Edit the view to add the facets and facets summary as views filters using the views plugin integration
  4. Enable AJAX and better exposed filters with auto-submit on the view
  5. Save the view and visit it
  6. Select one or more facets
  7. Attempt to disable facets one-by-one by clicking on the facets summary pills
  8. Notice you're just taken to a page that 404s where the path is the AJAX path that should only be accessed over AJAX instead of as a link destination

Proposed resolution

Ensure the facets summary pills have BEF + AJAX support

Remaining tasks

Submit an MR/patch that fixes the issue

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States malik.kotob

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

Comments & Activities

Production build 0.71.5 2024