diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-09-20 14:55:11 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-09-20 15:47:14 +0200 |
commit | df7b7527db7936d9a5014cd121525a36dbf57531 (patch) | |
tree | bca9afb0099135323ffe3c135f421b268f20fa0d /archaeological_context_records/forms.py | |
parent | 038d2ddee75aaccf0ad0c60d66efe09de69958e8 (diff) | |
download | Ishtar-df7b7527db7936d9a5014cd121525a36dbf57531.tar.bz2 Ishtar-df7b7527db7936d9a5014cd121525a36dbf57531.zip |
✨ context records, finds search: add new fields
Diffstat (limited to 'archaeological_context_records/forms.py')
-rw-r--r-- | archaeological_context_records/forms.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py index fe6534ea8..057d2996d 100644 --- a/archaeological_context_records/forms.py +++ b/archaeological_context_records/forms.py @@ -157,6 +157,12 @@ class RecordSelect(GeoItemSelect, PeriodSelect): label=_("Search within related operations"), choices=[] ) unit = forms.ChoiceField(label=_("Type"), choices=[]) + excavator = forms.IntegerField( + label=_("Excavator"), + widget=widgets.JQueryAutoComplete( + reverse_lazy('autocomplete-person'), + associated_model=Person), + validators=[valid_id(Person)], required=False) activity = forms.ChoiceField(label=_("Activity"), choices=[]) identifications = forms.ChoiceField(label=_("Identification"), choices=[]) cultural_attributions = forms.ChoiceField( |