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:38:28 +0100 |
| commit | cee816ef28218edcf9d1a8405cd23878ac3514e0 (patch) | |
| tree | 2a619248ea8e1f559184e04588c52e028a07d8ed /archaeological_operations/models.py | |
| parent | 8efe927325b5f97308b44450d1ce2c9f9ac3465f (diff) | |
| download | Ishtar-cee816ef28218edcf9d1a8405cd23878ac3514e0.tar.bz2 Ishtar-cee816ef28218edcf9d1a8405cd23878ac3514e0.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 614ee69aa..d65f1b7bc 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()] @@ -1170,7 +1170,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()] |
