mirror of
https://github.com/ae-utbm/sith.git
synced 2026-04-04 01:39:40 +00:00
apply correct default club_status when GET data is missing
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user