diff options
author | Valérie-Emma Leroux <emma@iggdrasil.net> | 2017-03-10 00:07:23 +0100 |
---|---|---|
committer | Valérie-Emma Leroux <emma@iggdrasil.net> | 2017-03-10 00:07:23 +0100 |
commit | f10181c013adb11a3629ccf2905f8bf1d0ec1433 (patch) | |
tree | 0545f50417f0fcf016475028a72cb98144c7c271 | |
parent | 775feabac583813e7f21d335d0809fdac7c5dd65 (diff) | |
download | Ishtar-f10181c013adb11a3629ccf2905f8bf1d0ec1433.tar.bz2 Ishtar-f10181c013adb11a3629ccf2905f8bf1d0ec1433.zip |
Context records table: add new fields and reorder
-rw-r--r-- | archaeological_context_records/models.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index 1ec32ea83..2b43635ac 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -144,9 +144,8 @@ class ContextRecord(BaseHistorizedItem, ImageModel, OwnPerms, ValueGetter, ShortMenuItem): SHOW_URL = 'show-contextrecord' SLUG = 'contextrecord' - TABLE_COLS = ['parcel__town__name', 'operation__year', - 'operation__operation_code', - 'label', 'unit'] + TABLE_COLS = ['label', 'parcel__town__name', 'operation__common_name', + 'parcel__label', 'unit'] if settings.COUNTRY == 'fr': TABLE_COLS.insert(1, 'operation__code_patriarche') TABLE_COLS_FOR_OPE = ['label', 'parcel', 'unit', |