From 8cb99f12facad17d2367ac59d18578d5f14af572 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 12 Apr 2021 14:56:52 +0200 Subject: Statistics: add modification year modality --- archaeological_operations/models.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archaeological_operations/models.py') diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 691af56e1..7bc50d0b0 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -193,6 +193,7 @@ class ArchaeologicalSite( ("periods__label", _("Periods")), ("remains__label", _("Remains")), ("documents__source_type__label", _("Associated document type")), + ("last_modified__year", _("Modification (year)")), ] ) STATISTIC_MODALITIES = [key for key, lbl in STATISTIC_MODALITIES_OPTIONS.items()] @@ -813,6 +814,7 @@ class Operation( ("documentation_received", _("Documentation received")), ("finds_received", _("Finds received")), ("documents__source_type__label", _("Associated document type")), + ("last_modified__year", _("Modification (year)")), ] ) STATISTIC_MODALITIES = [key for key, lbl in STATISTIC_MODALITIES_OPTIONS.items()] -- cgit v1.2.3