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
commit56c07db3047ac98e0b7ac54aa663f9acdad89fdb (patch)
treea391abd2c7c3b7b3883cdba37effab12cd9936ee /archaeological_finds
parent1c772426ed487e1deffdfff428fe84ac3b09ef13 (diff)
downloadIshtar-56c07db3047ac98e0b7ac54aa663f9acdad89fdb.tar.bz2
Ishtar-56c07db3047ac98e0b7ac54aa663f9acdad89fdb.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"),