diff options
author | Cefin <kevon@tuta.io> | 2021-11-02 17:21:25 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-08 09:58:49 +0200 |
commit | 6f463a1473845cf8374d160630321cb748935331 (patch) | |
tree | 863f43c37c29beae1e38c60cc316a715e253067c | |
parent | f8ca541287102b57fdc11cc1f1990915ebea93fb (diff) | |
download | Ishtar-6f463a1473845cf8374d160630321cb748935331.tar.bz2 Ishtar-6f463a1473845cf8374d160630321cb748935331.zip |
add collaborators on bulk update on EA search #5176
-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 68b87698f..3cb01f595 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -2021,10 +2021,17 @@ class QAArchaeologicalSiteFormMulti(QAForm): form_slug = "archaeological_site-quickaction-modify" associated_models = { 'qa_towns': Town, + 'qa_collaborators': Person, } MULTI = True qa_towns = get_town_field(required=False) + qa_collaborators = forms.IntegerField( + label=_("Collaborators"), required=False, + widget=widgets.JQueryAutoComplete( + reverse_lazy('autocomplete-person') + ), + ) def _get_qa_towns(self, value): try: |