summaryrefslogtreecommitdiff
path: root/archaeological_finds/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-12-04 23:11:59 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-12-04 23:11:59 +0100
commitb15601b7232fa489fec58b555031b71d17f5ca79 (patch)
tree323f5c52f0b1a869b170d38d10174db061ba5776 /archaeological_finds/models.py
parente7d4d95a64a3f80941197b8eb015ebdd1ecc8245 (diff)
downloadIshtar-b15601b7232fa489fec58b555031b71d17f5ca79.tar.bz2
Ishtar-b15601b7232fa489fec58b555031b71d17f5ca79.zip
Adapt treatment cols
Diffstat (limited to 'archaeological_finds/models.py')
-rw-r--r--archaeological_finds/models.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/archaeological_finds/models.py b/archaeological_finds/models.py
index d142a22b3..aaa145c65 100644
--- a/archaeological_finds/models.py
+++ b/archaeological_finds/models.py
@@ -798,8 +798,9 @@ post_delete.connect(post_save_cache, sender=TreatmentType)
class Treatment(BaseHistorizedItem, ImageModel, OwnPerms):
SHOW_URL = 'show-treatment'
- TABLE_COLS = ('treatment_types_lbl', 'person', 'start_date',
- 'downstream_cached_label', 'upstream_cached_label')
+ TABLE_COLS = ('year', 'index', 'treatment_types_lbl', 'label', 'person',
+ 'start_date', 'downstream_cached_label',
+ 'upstream_cached_label')
REVERSED_BOOL_FIELDS = ['image__isnull']
EXTRA_REQUEST_KEYS = {
"label": 'label__icontains',