summaryrefslogtreecommitdiff
path: root/archaeological_finds/models_finds.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/models_finds.py')
-rw-r--r--archaeological_finds/models_finds.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py
index 68a7bfe51..51df74c20 100644
--- a/archaeological_finds/models_finds.py
+++ b/archaeological_finds/models_finds.py
@@ -1004,10 +1004,6 @@ class Find(BulkUpdatedItem, ValueGetter, DocumentItem, BaseHistorizedItem,
pgettext_lazy("key for text search",
"context-record-relation-type"),
'cr_relation_types'),
- 'datings__period':
- SearchAltName(
- pgettext_lazy("key for text search", "period"),
- 'datings__period__label__iexact'),
'material_types':
SearchAltName(
pgettext_lazy("key for text search", "material"),
@@ -1363,6 +1359,7 @@ class Find(BulkUpdatedItem, ValueGetter, DocumentItem, BaseHistorizedItem,
}
ALT_NAMES.update(BaseHistorizedItem.ALT_NAMES)
ALT_NAMES.update(DocumentItem.ALT_NAMES)
+ ALT_NAMES.update(Dating.ASSOCIATED_ALT_NAMES)
DYNAMIC_REQUESTS = {
'current_division': DynamicRequest(