summaryrefslogtreecommitdiff
path: root/archaeological_finds
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-03-17 10:32:00 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-03-17 10:32:00 +0100
commit5bbe1ef946693eaaa96367765992838522e55064 (patch)
treea391abd2c7c3b7b3883cdba37effab12cd9936ee /archaeological_finds
parent8e9dbca6b39ecaa0ea156d9bb6197da628c21aec (diff)
downloadIshtar-5bbe1ef946693eaaa96367765992838522e55064.tar.bz2
Ishtar-5bbe1ef946693eaaa96367765992838522e55064.zip
Fix complete_id for base find
Diffstat (limited to 'archaeological_finds')
-rw-r--r--archaeological_finds/models_finds.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py
index 066bdb239..152e572f9 100644
--- a/archaeological_finds/models_finds.py
+++ b/archaeological_finds/models_finds.py
@@ -341,6 +341,7 @@ class BaseFind(BulkUpdatedItem, BaseHistorizedItem, GeoItem,
history = HistoricalRecords()
RELATED_POST_PROCESS = ['find']
CACHED_LABELS = ['cache_short_id', 'cache_complete_id']
+ CACHED_COMPLETE_ID = "cache_complete_id"
PARENT_SEARCH_VECTORS = ['context_record']
BASE_SEARCH_VECTORS = [
SearchVectorConfig("label"),