From 0a9419ffefff9ba43ecb75d579deb958042f21d5 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 23 Jan 2025 17:42:34 +0100 Subject: 🗃️ treatments: other_reference -> reference - find_treatments : m2m imports links - ✨ Treatment: upstream_count property - change default find external ID with upstream count MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_operations/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archaeological_operations') diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index fa5abce22..81a8a8ecb 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -3029,9 +3029,9 @@ class AdministrativeAct(DocumentItem, BaseHistorizedItem, OwnPerms, ValueGetter, pgettext_lazy("key for text search", "treatment-name"), "treatment__label__icontains", ), - "treatment__other_reference": SearchAltName( + "treatment__reference": SearchAltName( pgettext_lazy("key for text search", "treatment-reference"), - "treatment__other_reference__icontains", + "treatment__reference__icontains", ), "treatment__year": SearchAltName( pgettext_lazy("key for text search", "treatment-year"), "treatment__year" -- cgit v1.2.3