diff options
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', |