apply correct default club_status when GET data is missing

This commit is contained in:
imperosol
2026-04-01 14:04:10 +02:00
parent 0f00c91b59
commit dfe884484d
2 changed files with 8 additions and 3 deletions

View File

@@ -210,7 +210,7 @@ class ClubListView(AllowFragment, FormMixin, ListView):
def get_form_kwargs(self):
res = super().get_form_kwargs()
if self.request.GET:
if self.request.method == "GET":
res |= {"data": self.request.GET, "initial": self.request.GET}
return res