diff options
author | Cefin <kevon@tuta.io> | 2021-11-02 16:12:39 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-08 09:58:49 +0200 |
commit | a71848c625eaff0ad087070710953aed268c1be7 (patch) | |
tree | 96cde492a9c34b4fb30f5471803a67fb335d4b58 /archaeological_operations | |
parent | 194c06641aa2187cf5a121582b90ab924865579a (diff) | |
download | Ishtar-a71848c625eaff0ad087070710953aed268c1be7.tar.bz2 Ishtar-a71848c625eaff0ad087070710953aed268c1be7.zip |
add collaborators on bulk update on OA search #5177
Diffstat (limited to 'archaeological_operations')
-rw-r--r-- | archaeological_operations/forms.py | 7 |
1 files changed, 7 insertions, 0 deletions
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), |