Remove last facet fails

Created on 6 June 2025, about 1 month ago

Problem/Motivation

After making facets use Facets Pretty Paths everything is beautiful and works perfectly, except that when we try to remove the last facet, it reloads with that facet still selected.

(The clear button is also not working in the same way, but we may have customized that and it would be an easy fix anyway.)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

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

  • Issue created by @mlncn
  • πŸ‡ΊπŸ‡ΈUnited States mlncn Minneapolis, MN, USA

    Fairly certain this is not unique to my setup (note: using Facets 3) and it is pretty major.

    Link are 'non-pretty' (?focus[1330]=1330) but i guess redirects to the pretty link. These are tacked onto the current path, including the pretty paths if there. The "non-pretty" overrides but for removing the last facet there is no "non-pretty". If Facet Pretty Paths could be done without the intermediary non-pretty facet links this inability to remove the last item would (have to) be solved.

Production build 0.71.5 2024