mirror of
https://github.com/ae-utbm/sith.git
synced 2026-03-31 15:59:42 +00:00
push url on club search form submit
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
hx-get="{{ url("club:club_list") }}"
|
||||
hx-target="#content"
|
||||
hx-swap="outerHtml"
|
||||
hx-push-url="true"
|
||||
>
|
||||
<div class="row gap-4x">
|
||||
{{ form }}
|
||||
|
||||
@@ -206,7 +206,7 @@ class ClubListView(AllowFragment, FormMixin, ListView):
|
||||
template_name = "club/club_list.jinja"
|
||||
form_class = ClubSearchForm
|
||||
queryset = Club.objects.order_by("name")
|
||||
paginate_by = 1
|
||||
paginate_by = 20
|
||||
|
||||
def get_form_kwargs(self):
|
||||
res = super().get_form_kwargs()
|
||||
|
||||
Reference in New Issue
Block a user