From df7b7527db7936d9a5014cd121525a36dbf57531 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 20 Sep 2024 14:55:11 +0200 Subject: ✨ context records, finds search: add new fields MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_finds/forms.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archaeological_finds/forms.py') diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py index b04276155..094e6be21 100644 --- a/archaeological_finds/forms.py +++ b/archaeological_finds/forms.py @@ -1804,6 +1804,7 @@ class FindSelect(GeoItemSelect, PeriodSelect): ) description = forms.CharField(label=_("Description")) + base_finds__discovery_method = forms.ChoiceField(label=_("Discovery method"), choices=[]) base_finds__comment = forms.CharField(label=_("Base find - Comment on the circumstances of discovery")) base_finds__discovery_date = DateField(label=_("Discovery date (exact or beginning)")) base_finds__discovery_date_taq = DateField(label=_("Discovery date (end)")) @@ -1978,6 +1979,7 @@ class FindSelect(GeoItemSelect, PeriodSelect): FieldType("preservation_to_considers", models.TreatmentType), FieldType("integrities", models.IntegrityType), FieldType("remarkabilities", models.RemarkabilityType), + FieldType("base_finds__discovery_method", models.DiscoveryMethod), FieldType("base_finds__context_record__town__areas", Area), FieldType( "base_finds__context_record__operation__operation_type", OperationType -- cgit v1.2.3