mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-07-15 22:32:29 -05:00
When expanding subtasks, a task was excluded from the roots via NOT over LEFT-JOINed parent columns. Any filter predicate evaluating to NULL on the parent row (e.g. due_date <= X with a dateless parent) made the whole condition NULL, silently dropping the child from the result — it was neither a root nor nested anywhere. This hit saved filters, list views with date filters and the gantt view by default. Rebuild the root condition as a correlated NOT EXISTS subquery, where a NULL predicate collapses to a clean FALSE, and mirror the free-text search into the parent predicate so searching for a subtask by title no longer hides it when its parent does not match the search.