From 3b6128aa84a31c8fe1879f909e5c1cfd41150fa6 Mon Sep 17 00:00:00 2001 From: Ross Date: Wed, 10 Apr 2024 23:26:29 +0100 Subject: [PATCH] . --- atlas/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atlas/forms.py b/atlas/forms.py index 5aa955e3..aa2795d5 100755 --- a/atlas/forms.py +++ b/atlas/forms.py @@ -464,7 +464,7 @@ class CaseSeriesForm(ModelForm): class CaseCollectionCaseForm(ModelForm): - def __init__(self, *args, user, collection, **kwargs): + def __init__(self, *args, user, collection=None, **kwargs): super(CaseCollectionCaseForm, self).__init__(*args, **kwargs) queryset = get_cases_available_to_user(user, collection=collection)