Skip to content

Filter chips don't follow the URL on Back/Forward; stale filters are added to the next one #3664

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

Filter chips don't follow the URL on Back/Forward; stale filters are added to the next one. Cause: packages/web-pkg/src/components/ItemFilter.vue:224-230 doesn't clear when the query param is missing; Search/List.vue:367-377 only syncs present params; ItemFilterToggle.vue:48 reads the query only on mount.

Reproduction Steps

  1. Search and pick tag A.
  2. Press Back.
  3. Pick tag B.

Expected Outcome

After Back the chip is cleared; picking B filters by B.

Actual Outcome

The chip still shows A after Back, and picking B gives q_tags=A+B. "Title only" also stays on after Back.

Screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions