diff --git a/backend/internal/web/handlers_tasks.go b/backend/internal/web/handlers_tasks.go index 3734180..d8bbbc3 100644 --- a/backend/internal/web/handlers_tasks.go +++ b/backend/internal/web/handlers_tasks.go @@ -586,12 +586,12 @@ func TaskReorderHandler(deps TasksDeps) http.HandlerFunc { } } } - tasks, _, _, filter, ok := loadTasksTabData(w, r, deps.Queries, tablo) + tasks, etapes, _, filter, ok := loadTasksTabData(w, r, deps.Queries, tablo) if !ok { return } w.Header().Set("Content-Type", "text/html; charset=utf-8") - _ = templates.KanbanBoard(tablo.ID, csrf.Token(r), tasks, filter).Render(ctx, w) + _ = templates.KanbanBoard(tablo.ID, csrf.Token(r), tasks, filter, etapes).Render(ctx, w) return } } @@ -636,12 +636,12 @@ func TaskReorderHandler(deps TasksDeps) http.HandlerFunc { } } - tasks, _, _, filter, ok := loadTasksTabData(w, r, deps.Queries, tablo) + tasks, etapes, _, filter, ok := loadTasksTabData(w, r, deps.Queries, tablo) if !ok { return } w.Header().Set("Content-Type", "text/html; charset=utf-8") - _ = templates.KanbanBoard(tablo.ID, csrf.Token(r), tasks, filter).Render(ctx, w) + _ = templates.KanbanBoard(tablo.ID, csrf.Token(r), tasks, filter, etapes).Render(ctx, w) } } diff --git a/backend/templates/tablos.templ b/backend/templates/tablos.templ index 6cdb2bd..2036749 100644 --- a/backend/templates/tablos.templ +++ b/backend/templates/tablos.templ @@ -428,7 +428,7 @@ templ TabloOverviewTabFragment(tablo sqlc.Tablo, csrfToken string) { // Lives in tablos.templ (tablo-level concern) per plan D-07. templ TasksTabFragment(tablo sqlc.Tablo, tasks []sqlc.Task, etapes []sqlc.Etape, counts EtapeTaskCounts, filter EtapeFilter, csrfToken string) {