diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-05-10 22:46:17 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-06-17 13:21:28 +0200 |
commit | 014eddee87b0e6e871cf4a201884cf60a41cc63e (patch) | |
tree | 614ce9bbf5b1982977ff55e17e4d21520959e3aa /archaeological_operations/models.py | |
parent | 62f7ee65b2cdc8e9f543df9a197e89e4a3845f74 (diff) | |
download | Ishtar-014eddee87b0e6e871cf4a201884cf60a41cc63e.tar.bz2 Ishtar-014eddee87b0e6e871cf4a201884cf60a41cc63e.zip |
Statistics - manage queries
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r-- | archaeological_operations/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index b3e137399..4f180c3d5 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -527,6 +527,9 @@ class Operation(ClosedItem, DocumentItem, BaseHistorizedItem, QRCodeItem, TABLE_COLS = ['code_patriarche', 'year', 'towns_label', 'common_name', 'operation_type', 'start_date', 'excavation_end_date', 'remains'] + # statistics + STATISTIC_MODALITIES = ["year", "operation_type__label", + "towns__cached_label"] # search parameters BOOL_FIELDS = ['end_date__isnull', 'virtual_operation', |