Saved filter not working with project filter in parentheses #2383

Closed
opened 2026-03-22 14:05:16 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @langerdennis on GitHub (Oct 12, 2025).

Description

When creating a saved filter, "project" cannot be used in parentheses, instead giving an error message:

level=ERROR msg="Task filter value is invalid [Value: Filtertest, Field: project_id]

The filter I was trying to use: ( labels = label || project = Filtertest )

I have looked for similar issues and can also reproduce the error on try.vikunja.io. Other filters like assignees, label etc. do work, this seems to be directly related to the project filter which does not play nicely with nesting in parentheses. If I remove the parentheses it is working, but limiting my filtering capabilities.

Vikunja Version

v1.0.0-rc2-133-43839482

Browser and version

No response

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

Image Image
Originally created by @langerdennis on GitHub (Oct 12, 2025). ### Description When creating a saved filter, "project" cannot be used in parentheses, instead giving an error message: `level=ERROR msg="Task filter value is invalid [Value: Filtertest, Field: project_id]` The filter I was trying to use: ( labels = label || project = Filtertest ) I have looked for similar issues and can also reproduce the error on try.vikunja.io. Other filters like assignees, label etc. do work, this seems to be directly related to the project filter which does not play nicely with nesting in parentheses. If I remove the parentheses it is working, but limiting my filtering capabilities. ### Vikunja Version v1.0.0-rc2-133-43839482 ### Browser and version _No response_ ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots <img width="676" height="848" alt="Image" src="https://github.com/user-attachments/assets/d0967649-8f4c-431f-ae62-a1fa4f2faf25" /> <img width="399" height="159" alt="Image" src="https://github.com/user-attachments/assets/a662624d-d1a8-419c-a968-25feed1dc5a1" />
Author
Owner

@kolaente commented on GitHub (Oct 13, 2025):

Fixed in https://github.com/go-vikunja/vikunja/pull/1647, please check with the next unstable build (should be ready for deployment in ~30min, also on try).

@kolaente commented on GitHub (Oct 13, 2025): Fixed in https://github.com/go-vikunja/vikunja/pull/1647, please check with the next unstable build (should be ready for deployment in ~30min, also on [try](https://try.vikunja.io)).
Author
Owner

@langerdennis commented on GitHub (Oct 14, 2025):

Thank you, working like a charm now!

@langerdennis commented on GitHub (Oct 14, 2025): Thank you, working like a charm now!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#2383