summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCefin <kevon@tuta.io>2021-11-02 16:12:39 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-11-16 17:04:41 +0100
commitf6bc40fadfef77fd331acb64586a86541ad93268 (patch)
tree89db4db8eddf19eef2a16e954e4c0f097d11deba
parent0311611264ccc90e7ad7e58b97b0927076a5d2d5 (diff)
downloadIshtar-f6bc40fadfef77fd331acb64586a86541ad93268.tar.bz2
Ishtar-f6bc40fadfef77fd331acb64586a86541ad93268.zip
add collaborators on bulk update on OA search #5177
-rw-r--r--archaeological_operations/forms.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py
index 288a4f074..ae42ab623 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),