diff options
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 |
commit | 75990cbba38b0149bad31ed3f1d999dd9de29cff (patch) | |
tree | 323f5c52f0b1a869b170d38d10174db061ba5776 /archaeological_finds/models.py | |
parent | cf38d1b8d0328b28b7dc48f7981907e66b9fdc8e (diff) | |
download | Ishtar-75990cbba38b0149bad31ed3f1d999dd9de29cff.tar.bz2 Ishtar-75990cbba38b0149bad31ed3f1d999dd9de29cff.zip |
Adapt treatment cols
Diffstat (limited to 'archaeological_finds/models.py')
-rw-r--r-- | archaeological_finds/models.py | 5 |
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', |