summaryrefslogtreecommitdiff
path: root/archaeological_context_records/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_context_records/forms.py')
-rw-r--r--archaeological_context_records/forms.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py
index 8d05e50e1..27900ef80 100644
--- a/archaeological_context_records/forms.py
+++ b/archaeological_context_records/forms.py
@@ -52,7 +52,7 @@ from ishtar_common.forms import (
HistorySelect,
MultiSearchForm,
LockForm,
- DocumentItemSelect,
+ GeoItemSelect,
QAForm,
)
from ishtar_common.forms_common import get_town_field
@@ -133,7 +133,7 @@ class PeriodSelect(forms.Form):
self.fields = fields
-class RecordSelect(DocumentItemSelect, PeriodSelect):
+class RecordSelect(GeoItemSelect, PeriodSelect):
_model = models.ContextRecord
form_admin_name = _("Context record - 001 - Search")
form_slug = "contextrecord-001-search"
@@ -177,7 +177,7 @@ class RecordSelect(DocumentItemSelect, PeriodSelect):
FieldType("cr_relation_types", models.RelationType),
FieldType("ope_relation_types", OpeRelationType),
FieldType("excavation_technics", models.ExcavationTechnicType),
- ]
+ ] + GeoItemSelect.TYPES
SITE_KEYS = {"archaeological_site": None}
def __init__(self, *args, **kwargs):