From d4ef70673404951f359e6ebc3b47437db8b85689 Mon Sep 17 00:00:00 2001 From: moanos Date: Wed, 1 Jan 2025 20:55:35 +0100 Subject: [PATCH] feat: reorder search options --- src/fellchensammlung/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fellchensammlung/forms.py b/src/fellchensammlung/forms.py index 2b409ca..86f0dfe 100644 --- a/src/fellchensammlung/forms.py +++ b/src/fellchensammlung/forms.py @@ -182,7 +182,7 @@ class CustomRegistrationForm(RegistrationForm): class AdoptionNoticeSearchForm(forms.Form): - location_string = forms.CharField(max_length=20, label=_("Stadt"), required=False) - max_distance = forms.ChoiceField(choices=DistanceChoices, initial=DistanceChoices.ONE_HUNDRED, label=_("Suchradius")) sex = forms.ChoiceField(choices=SexChoicesWithAll, label=_("Geschlecht"), required=False, initial=SexChoicesWithAll.ALL) + max_distance = forms.ChoiceField(choices=DistanceChoices, initial=DistanceChoices.ONE_HUNDRED, label=_("Suchradius")) + location_string = forms.CharField(max_length=20, label=_("Stadt"), required=False)