mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-07-21 17:37:54 -05:00
v1's TaskCollection.ReadAll is polymorphic: a kanban view returns []*Bucket, everything else []*Task. v2 splits the task list into a flat-tasks endpoint and a separate buckets-with-tasks endpoint, so the flat endpoint needs ReadAll to return tasks even for a kanban view. SetForceFlatTasks toggles that; v1 leaves it unset and keeps its shape.