Files
vikunja/pkg
kolaente ac853537e9 fix(tasks): make subtask root condition NULL-safe and search-aware
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.
2026-07-15 19:31:14 +02:00
..
2026-07-02 17:38:37 +02:00
2026-07-07 09:51:58 +00:00