diff options
| 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 |
| commit | caa6d9bdead4783e5eac0a45d5b60ed86d54df45 (patch) | |
| tree | a0179d9af2c8150ce15d4433e7e8122ad8cc5af3 /archaeological_operations/models.py | |
| parent | e0012a61bef172799dcfa703081fe917596ed978 (diff) | |
| download | Ishtar-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.py | 4 |
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()] |
