diff options
author | Cefin <kevon@tuta.io> | 2021-10-06 10:52:01 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-10-25 12:06:03 +0200 |
commit | 7ea5b7c160cf44766f66450806fd5223621ca86c (patch) | |
tree | 5b54edfc178915de710ed157affaa50428af2f4a /archaeological_context_records/forms.py | |
parent | 8287e7ead4719e47e39fc48d6c1186302dcfdc16 (diff) | |
download | Ishtar-7ea5b7c160cf44766f66450806fd5223621ca86c.tar.bz2 Ishtar-7ea5b7c160cf44766f66450806fd5223621ca86c.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} |