[GH-ISSUE #1453] Expired tasks in filter have wrong dates #6399

Closed
opened 2026-04-20 16:59:56 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @loviuz on GitHub (Sep 10, 2025).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/1453

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). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/1453 ### 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" />
GiteaMirror added the waiting for reply label 2026-04-20 16:59:56 -05:00
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)

<!-- gh-comment-id:3274365932 --> @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

<!-- gh-comment-id:3279018595 --> @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?

<!-- gh-comment-id:3279065092 --> @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?
Author
Owner

@tink-bot commented on GitHub (Apr 5, 2026):

Closing this for now since we haven't heard back on the follow-up questions. If you're still seeing this on a recent version, just drop a comment with the requested info and we'll reopen. Thanks for the report!

<!-- gh-comment-id:4188756340 --> @tink-bot commented on GitHub (Apr 5, 2026): Closing this for now since we haven't heard back on the follow-up questions. If you're still seeing this on a recent version, just drop a comment with the requested info and we'll reopen. Thanks for the report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#6399