summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archaeological_operations/forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py
index 59704cf81..7be3e9a5f 100644
--- a/archaeological_operations/forms.py
+++ b/archaeological_operations/forms.py
@@ -754,7 +754,7 @@ class OperationFormGeneral(CustomForm, ManageOldType):
widget=widgets.JQueryAutoComplete(
reverse_lazy('autocomplete-organization',
args=[organization_type_pk_lazy('operator')]),
- limit={'organization_type': organization_type_pk_lazy('operator')},
+ limit={'organization_type': [organization_type_pk_lazy('operator')]},
tips=lazy(get_operator_label),
associated_model=Organization, new=True),
validators=[valid_id(Organization)], required=False)
@@ -1724,7 +1724,7 @@ class QAOperationFormMulti(QAForm):
widget=widgets.JQueryAutoComplete(
reverse_lazy('autocomplete-organization',
args=[organization_type_pk_lazy('operator')]),
- limit={'organization_type': organization_type_pk_lazy('operator')},
+ limit={'organization_type': [organization_type_pk_lazy('operator')]},
associated_model=Organization, new=True),
validators=[valid_id(Organization)], required=False)
qa_documentation_received = forms.ChoiceField(