From d6e738a2da8da385e34c8831e62200d674a65a28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20Caux?= <git@jscaux.org> Date: Wed, 20 Oct 2021 05:17:17 +0200 Subject: [PATCH] Reorder fields according to layout order --- scipost_django/submissions/forms.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scipost_django/submissions/forms.py b/scipost_django/submissions/forms.py index 6295251f4..deeb73ec4 100644 --- a/scipost_django/submissions/forms.py +++ b/scipost_django/submissions/forms.py @@ -68,11 +68,6 @@ OSFPREPRINTS_IDENTIFIER_PATTERN = r'^[a-z0-9]+$' class SubmissionPoolSearchForm(forms.Form): """Filter a Submission queryset using basic search fields.""" - search_set = forms.ChoiceField( - widget=forms.RadioSelect, - choices=(('current', 'Currently in processing'), ('historical', 'All accessible history')), - initial='current' - ) submitted_to = forms.ModelChoiceField( queryset=Journal.objects.active(), required=False @@ -139,6 +134,11 @@ class SubmissionPoolSearchForm(forms.Form): queryset=Fellowship.objects.active(), required=False ) + search_set = forms.ChoiceField( + widget=forms.RadioSelect, + choices=(('current', 'Currently in processing'), ('historical', 'All accessible history')), + initial='current' + ) def __init__(self, *args, **kwargs): user = kwargs.pop('user') -- GitLab