summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2026-01-12 16:49:45 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2026-01-12 18:35:23 +0100
commitcaa6d9bdead4783e5eac0a45d5b60ed86d54df45 (patch)
treea0179d9af2c8150ce15d4433e7e8122ad8cc5af3 /archaeological_operations/models.py
parente0012a61bef172799dcfa703081fe917596ed978 (diff)
downloadIshtar-caa6d9bdead4783e5eac0a45d5b60ed86d54df45.tar.bz2
Ishtar-caa6d9bdead4783e5eac0a45d5b60ed86d54df45.zip
🐛 fix statistic evaluation for last modified and top container
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 cf0db7d19..75a4e2d95 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -389,7 +389,7 @@ class ArchaeologicalSite(
("periods__label", _("Periods")),
("remains__label", _("Remains")),
("documents__source_type__label", _("Associated document type")),
- ("last_modified__year", _("Modification (year)")),
+ ("last_modified__FILTERyear", _("Modification (year)")),
]
)
STATISTIC_MODALITIES = [key for key, lbl in STATISTIC_MODALITIES_OPTIONS.items()]
@@ -1127,7 +1127,7 @@ class Operation(
("documentation_received", _("Documentation provided")),
("finds_received", _("Finds provided")),
("documents__source_type__label", _("Associated document type")),
- ("last_modified__year", _("Modification (year)")),
+ ("last_modified__FILTERyear", _("Modification (year)")),
]
)
STATISTIC_MODALITIES = [key for key, lbl in STATISTIC_MODALITIES_OPTIONS.items()]