diff --git a/backend/templates/etapes_forms.go b/backend/templates/etapes_forms.go index 40f784a..81f7ecb 100644 --- a/backend/templates/etapes_forms.go +++ b/backend/templates/etapes_forms.go @@ -65,6 +65,13 @@ func (f EtapeFilter) QuerySuffix() string { return "" } +func (f EtapeFilter) QueryParam() string { + if value := f.QueryValue(); value != "" { + return "?etape=" + url.QueryEscape(value) + } + return "" +} + func (f EtapeFilter) TaskEtapeIDValue() string { if f.Kind == EtapeFilterEtape { return f.EtapeID.String() diff --git a/backend/templates/tasks.templ b/backend/templates/tasks.templ index 390bc9d..98e02b3 100644 --- a/backend/templates/tasks.templ +++ b/backend/templates/tasks.templ @@ -26,8 +26,8 @@ templ KanbanBoard(tabloID uuid.UUID, csrfToken string, tasks []sqlc.Task, filter