From ad64bc69cdbfd3e29ec25378ee29dcae988956bc Mon Sep 17 00:00:00 2001 From: Cefin Date: Wed, 6 Oct 2021 10:52:01 +0200 Subject: adding excavation technique field on search --- archaeological_context_records/forms.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archaeological_context_records/forms.py') 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} -- cgit v1.2.3