summaryrefslogtreecommitdiff
path: root/archaeological_finds
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2026-01-12 10:57:15 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2026-01-12 10:57:15 +0100
commit64e983d97d0cdb379cdc41845d826d27443229b1 (patch)
tree3727d066495c69f61267ad7678feb57e5998e962 /archaeological_finds
parent967a322de057cfb848d396429994b9cf7c62c46d (diff)
downloadIshtar-64e983d97d0cdb379cdc41845d826d27443229b1.tar.bz2
Ishtar-64e983d97d0cdb379cdc41845d826d27443229b1.zip
♻️ minor clean on find search
Diffstat (limited to 'archaeological_finds')
-rw-r--r--archaeological_finds/models_finds.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py
index f4fd19803..73a2289c0 100644
--- a/archaeological_finds/models_finds.py
+++ b/archaeological_finds/models_finds.py
@@ -1268,9 +1268,8 @@ class Find(
NEW_QUERY_ENGINE = True
# if these fields are in the search query columns - add these keys for total count
QUERY_DISTINCT_COUNT = {
- "base_finds__context_record__label": "base_finds__context_record__pk",
- "base_finds__context_record__operation__code_patriarche": "base_finds__context_record__operation__pk",
- "base_finds__context_record__operation__common_name": "base_finds__context_record__operation__pk",
+ "base_finds__context_record__": "base_finds__context_record__pk",
+ "base_finds__context_record__operation__": "base_finds__context_record__operation__pk",
}
COL_LABELS = {
"base_finds__context_record__label": _("Context record"),