diff options
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 |
commit | cd6cabc87e5cc6cd188188050fc009f88220d85d (patch) | |
tree | 9693ae76626bc1d11b50909a35170abc20fe3a63 /archaeological_operations | |
parent | 5b5a8e2f2af0ddd9655012ba3f9ddfb69de640fd (diff) | |
download | Ishtar-cd6cabc87e5cc6cd188188050fc009f88220d85d.tar.bz2 Ishtar-cd6cabc87e5cc6cd188188050fc009f88220d85d.zip |
Statistics: add modification year modality
Diffstat (limited to 'archaeological_operations')
-rw-r--r-- | archaeological_operations/models.py | 2 |
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()] |