From a71848c625eaff0ad087070710953aed268c1be7 Mon Sep 17 00:00:00 2001 From: Cefin Date: Tue, 2 Nov 2021 16:12:39 +0100 Subject: add collaborators on bulk update on OA search #5177 --- archaeological_operations/forms.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'archaeological_operations/forms.py') diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index dea70c7b4..6f3c027a7 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -1859,6 +1859,7 @@ class QAOperationFormMulti(QAForm): 'qa_operation_type': models.OperationType, 'qa_towns': Town, 'qa_operator': Organization, + 'qa_collaborators': Person, } MULTI = True @@ -1888,6 +1889,12 @@ class QAOperationFormMulti(QAForm): label=_("Finds received"), required=False, choices=QAForm.NULL_BOOL_CHOICES ) + qa_collaborators = forms.IntegerField( + label=_("Collaborators"), + widget=widgets.JQueryAutoComplete( + reverse_lazy('autocomplete-person') + ), + ) TYPES = [ FieldType('qa_operation_type', models.OperationType), -- cgit v1.2.3