[PR #6000] Prevent duplicate filters from being applied #13320

Closed
opened 2026-04-10 21:51:34 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/6000

State: closed
Merged: Yes


When applying filters in the Budget view, duplicate filter conditions (with the same field, op, type, and value) were being re-applied instead of ignored. This resulted in multiple identical conditions being added to the filter list.

image

I noticed this first while filtering by tags. I am not completely sure if there is any better way to check if the filter is a duplicate. Here, I've use the stringified JSON to compare.

Fixes #5999

**Original Pull Request:** https://github.com/actualbudget/actual/pull/6000 **State:** closed **Merged:** Yes --- When applying filters in the Budget view, duplicate filter conditions (with the same field, op, type, and value) were being re-applied instead of ignored. This resulted in multiple identical conditions being added to the filter list. <img width="1899" height="470" alt="image" src="https://github.com/user-attachments/assets/43724e16-975a-4a09-be9b-b793819931ad" /> I noticed this first while filtering by tags. I am not completely sure if there is any better way to check if the filter is a duplicate. Here, I've use the stringified JSON to compare. Fixes #5999
GiteaMirror added the pull-request label 2026-04-10 21:51:34 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#13320