From 39d925073616d842d5c2dfd6ac0974dddf252677 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 7 Jan 2025 11:05:42 +0100 Subject: 🐛 fix generation of cached_label for base finds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_finds/models_finds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index 9a287f516..464076caf 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -614,7 +614,7 @@ class BaseFind( ) history = HistoricalRecords() RELATED_POST_PROCESS = ["find"] - CACHED_LABELS = ["cache_short_id", "cache_complete_id"] + CACHED_LABELS = ["cache_short_id", "cache_complete_id", "cached_label"] CACHED_COMPLETE_ID = "cache_complete_id" PARENT_ONLY_SEARCH_VECTORS = ["context_record"] BASE_SEARCH_VECTORS = [ -- cgit v1.2.3