summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2025-01-23 17:42:34 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-02-19 14:45:56 +0100
commit0a9419ffefff9ba43ecb75d579deb958042f21d5 (patch)
treee42fd1e7cc30d86cea1acc903eb5a3f8b6d06c57 /archaeological_operations/models.py
parentcba538fc4dc3a2002c119933144375232c912cbb (diff)
downloadIshtar-0a9419ffefff9ba43ecb75d579deb958042f21d5.tar.bz2
Ishtar-0a9419ffefff9ba43ecb75d579deb958042f21d5.zip
🗃️ treatments: other_reference -> reference - find_treatments : m2m imports links - ✨ Treatment: upstream_count property - change default find external ID with upstream count
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r--archaeological_operations/models.py4
1 files changed, 2 insertions, 2 deletions
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"