[Bug]: any/all on filters are broken #1296

Closed
opened 2026-02-28 19:39:13 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @psybers on GitHub (Aug 4, 2024).

Verified issue does not already exist?

  • I have searched and found no existing issue
  • I will be providing steps how to reproduce the bug (in most cases this will also mean uploading a demo budget file)

What happened?

  1. create a new custom report
  2. click the filter button and add a category filter of "contains t"
  3. click the filter button and add a category filter of "contains a"
  4. note that it shows both, with "all" next to the filters
  5. change "all" to "any"

Observed:
image

and the filters still behave as if "all" are selected

Expected:
it says "any" and the filters switch to "any" mode

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Chrome

Operating System

Mac OSX

Originally created by @psybers on GitHub (Aug 4, 2024). ### Verified issue does not already exist? - [X] I have searched and found no existing issue - [X] I will be providing steps how to reproduce the bug (in most cases this will also mean uploading a demo budget file) ### What happened? 1. create a new custom report 2. click the filter button and add a category filter of "contains t" 3. click the filter button and add a category filter of "contains a" 4. note that it shows both, with "all" next to the filters 5. change "all" to "any" Observed: <img width="420" alt="image" src="https://github.com/user-attachments/assets/e478dae2-ecb9-4a8e-b2f5-6f03b8f10d71"> and the filters still behave as if "all" are selected Expected: it says "any" and the filters switch to "any" mode ### Where are you hosting Actual? Docker ### What browsers are you seeing the problem on? Chrome ### Operating System Mac OSX
GiteaMirror added the regressionbug labels 2026-02-28 19:39:13 -06:00
Author
Owner

@psybers commented on GitHub (Aug 16, 2024):

This bug is a bit more widespread. The any/all issue seems to happen everywhere, regardless of filter(s) used.

@psybers commented on GitHub (Aug 16, 2024): This bug is a bit more widespread. The any/all issue seems to happen everywhere, regardless of filter(s) used.
Author
Owner

@psybers commented on GitHub (Aug 16, 2024):

Chase found the commit that broke it: 14f29941b0

@MatissJanis thoughts?

@psybers commented on GitHub (Aug 16, 2024): Chase found the commit that broke it: 14f29941b096793c94f2c65c98022b1ab2b46f6f @MatissJanis thoughts?
Author
Owner

@psybers commented on GitHub (Aug 16, 2024):

When it breaks, you get this in the JS console:

conditionsToAQL: invalid condition: RuleError: Invalid condition field: undefined
@psybers commented on GitHub (Aug 16, 2024): When it breaks, you get this in the JS console: ```js conditionsToAQL: invalid condition: RuleError: Invalid condition field: undefined ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#1296