summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
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_context_records/models.py
parent5b5a8e2f2af0ddd9655012ba3f9ddfb69de640fd (diff)
downloadIshtar-cd6cabc87e5cc6cd188188050fc009f88220d85d.tar.bz2
Ishtar-cd6cabc87e5cc6cd188188050fc009f88220d85d.zip
Statistics: add modification year modality
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index 83c2d6b43..6b26825be 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -453,6 +453,7 @@ class ContextRecord(
("activity__label", _("Activity")),
("excavation_technic__label", _("Excavation technique")),
("documents__source_type__label", _("Associated document type")),
+ ("last_modified__year", _("Modification (year)")),
]
)
STATISTIC_MODALITIES = [key for key, lbl in STATISTIC_MODALITIES_OPTIONS.items()]