Expired tasks in filter have wrong dates #605

Open
opened 2026-02-27 15:09:12 -05:00 by deekerman · 3 comments
Owner

Originally created by @loviuz on GitHub (Sep 10, 2025).

Description

In saved filters I can see all tasks with no dueDate set. I have checked in the database and dueDate=null. Here you can see that the filter shows tasks with no dueDate, because the API return these tasks.

Image

My filter from database is:

{"s":"","sort_by":["done","id"],"order_by":["asc","desc"],"filter":"done = false \u0026\u0026 due_date \u003c 'now+30d' \u0026\u0026 due_date \u003e 'now-10y' \u0026\u0026 project not in 1, 2, 5, 4, 6","filter_include_nulls":false}

Vikunja Version

docker image vikunja/vikunja:unstable (pulled today)

Browser and version

Firefox 142.0.1

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

Image
Originally created by @loviuz on GitHub (Sep 10, 2025). ### Description In saved filters I can see all tasks with no dueDate set. I have checked in the database and dueDate=null. Here you can see that the filter shows tasks with no dueDate, because the API return these tasks. <img width="1461" height="611" alt="Image" src="https://github.com/user-attachments/assets/ef807328-01fc-467b-8f8e-4f70aa480e99" /> My filter from database is: ```json {"s":"","sort_by":["done","id"],"order_by":["asc","desc"],"filter":"done = false \u0026\u0026 due_date \u003c 'now+30d' \u0026\u0026 due_date \u003e 'now-10y' \u0026\u0026 project not in 1, 2, 5, 4, 6","filter_include_nulls":false} ``` ### Vikunja Version docker image vikunja/vikunja:unstable (pulled today) ### Browser and version Firefox 142.0.1 ### Can you reproduce the bug on the Vikunja demo site? No ### Screenshots <img width="1461" height="611" alt="Image" src="https://github.com/user-attachments/assets/c7aa23d8-f458-4b09-a496-44eadefaaa01" />
Author
Owner

@kolaente commented on GitHub (Sep 10, 2025):

Is that with a saved filter only or when setting a filter ad hoc from the UI? (Via the filter button on the top right)

@kolaente commented on GitHub (Sep 10, 2025): Is that with a saved filter only or when setting a filter ad hoc from the UI? (Via the filter button on the top right)
Author
Owner

@loviuz commented on GitHub (Sep 11, 2025):

Yes, I have created the filter from the web UI

@loviuz commented on GitHub (Sep 11, 2025): Yes, I have created the filter from the web UI
Author
Owner

@kolaente commented on GitHub (Sep 11, 2025):

Can you share the filter you have set in the UI?

Did you set the "Show tasks without a value" checkbox below the filter input?

@kolaente commented on GitHub (Sep 11, 2025): Can you share the filter you have set in the UI? Did you set the "Show tasks without a value" checkbox below the filter input?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vikunja-go-vikunja#605
No description provided.