Can views support exposed filters with 'pretty paths' (no query string)

Created on 21 July 2025, 13 days ago

Problem/Motivation

With Facets Pretty Paths module you can get paths like /projects/focus/indigenous-communities for a view with exposed filters instead of /projects and a query string and taxonomy term ID.  This is all working (with Search API, Facets, and Better Exposed Filters) but for one problem that, after stepping through the code, i think is a fundamental Views one: The reset button, instead of taking a person to /projects, stays on the full path (that includes the filter) and so resets nothing.

A similar problem happens where trying to remove the last facet fails when using the Links exposed filter widget – πŸ› Remove last facet fails Active β€” that problem is more squarely Facets Pretty Paths, but given that Views itself does not seem to be checking the actual path of the View page display to make the reset button go there instead of merely removing the query string, i think figuring that part out in Views is the best first step.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ’¬ Support request
Status

Active

Version

11.2 πŸ”₯

Component

views.module

Created by

πŸ‡ΊπŸ‡ΈUnited States mlncn Minneapolis, MN, USA

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

Comments & Activities

Production build 0.71.5 2024