Skip to content

Commit

Permalink
Merge branch 'master' into admin-guide-links
Browse files Browse the repository at this point in the history
  • Loading branch information
lakridserne authored Jan 14, 2024
2 parents fdf23b2 + 9507972 commit e12c195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion members/forms/admin_signup_form.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def __init__(self, *args, **kwargs):
error_messages={"invalid": "Indtast en gyldig dato."},
)
volunteer_department = forms.ModelChoiceField(
queryset=Department.objects.all(),
queryset=Department.objects.filter(closed_dtm__isnull=True).order_by("name"),
required=True,
label="Afdeling",
empty_label="-",
Expand Down

0 comments on commit e12c195

Please sign in to comment.