diff options
author | Cefin <kevon@tuta.io> | 2021-10-06 10:52:01 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-11-16 17:04:41 +0100 |
commit | db886360f4e6839ea6932b9dca7b21fa3da98e2c (patch) | |
tree | dc324051ae1857c1ee6e635fe4a75b353c1d52df /archaeological_context_records/forms.py | |
parent | 11a05182b77510cf12ba3f8f4c440299f3cc251a (diff) | |
download | Ishtar-db886360f4e6839ea6932b9dca7b21fa3da98e2c.tar.bz2 Ishtar-db886360f4e6839ea6932b9dca7b21fa3da98e2c.zip |
adding excavation technique field on search
Diffstat (limited to 'archaeological_context_records/forms.py')
-rw-r--r-- | archaeological_context_records/forms.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py index 409ed0864..6d48aba4f 100644 --- a/archaeological_context_records/forms.py +++ b/archaeological_context_records/forms.py @@ -168,11 +168,13 @@ class RecordSelect(DocumentItemSelect, PeriodSelect): cr_relation_types = forms.ChoiceField( label=_("Search within relations"), choices=[] ) + excavation_technic = forms.ChoiceField(label=_("Excavation technique"), choices=[]) TYPES = PeriodSelect.TYPES + [ FieldType("unit", models.Unit), FieldType("cr_relation_types", models.RelationType), FieldType("ope_relation_types", OpeRelationType), + FieldType("excavation_technic", models.ExcavationTechnicType), ] SITE_KEYS = {"archaeological_site": None} |