diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-12-18 18:56:31 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-02-05 10:51:52 +0100 |
commit | ff02c4b717b665f3671cd8168c91a41dc06e1728 (patch) | |
tree | d5de7905864667f73939ecd45ca8c938167bd103 /archaeological_context_records | |
parent | e5c704cbe7d3bd3e805aee3b767267539e2a963e (diff) | |
download | Ishtar-ff02c4b717b665f3671cd8168c91a41dc06e1728.tar.bz2 Ishtar-ff02c4b717b665f3671cd8168c91a41dc06e1728.zip |
✨ imports: add search criteria
Diffstat (limited to 'archaeological_context_records')
-rw-r--r-- | archaeological_context_records/models.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index 9ad6da489..4940a2d4a 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -45,7 +45,7 @@ from ishtar_common.models import ( GeneralType, BaseHistorizedItem, OwnPerms, - ShortMenuItem, + Imported, GeneralRelationType, GeneralRecordRelations, post_delete_record_relation, @@ -621,6 +621,7 @@ class ContextRecord( ALT_NAMES.update(DocumentItem.ALT_NAMES) ALT_NAMES.update(Dating.ASSOCIATED_ALT_NAMES) ALT_NAMES.update(GeoItem.ALT_NAMES) + ALT_NAMES.update(Imported.ALT_NAMES) PARENT_ONLY_SEARCH_VECTORS = ["operation", "archaeological_site", "parcel"] BASE_SEARCH_VECTORS = [ |