summaryrefslogtreecommitdiff
path: root/archaeological_operations
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-04-12 14:56:52 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-04-12 14:56:52 +0200
commitcd6cabc87e5cc6cd188188050fc009f88220d85d (patch)
tree9693ae76626bc1d11b50909a35170abc20fe3a63 /archaeological_operations
parent5b5a8e2f2af0ddd9655012ba3f9ddfb69de640fd (diff)
downloadIshtar-cd6cabc87e5cc6cd188188050fc009f88220d85d.tar.bz2
Ishtar-cd6cabc87e5cc6cd188188050fc009f88220d85d.zip
Statistics: add modification year modality
Diffstat (limited to 'archaeological_operations')
-rw-r--r--archaeological_operations/models.py2
1 files changed, 2 insertions, 0 deletions
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()]