.
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user