summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorValérie-Emma Leroux <emma@iggdrasil.net>2017-03-10 00:07:23 +0100
committerValérie-Emma Leroux <emma@iggdrasil.net>2017-03-10 00:07:23 +0100
commitf10181c013adb11a3629ccf2905f8bf1d0ec1433 (patch)
tree0545f50417f0fcf016475028a72cb98144c7c271 /archaeological_context_records/models.py
parent775feabac583813e7f21d335d0809fdac7c5dd65 (diff)
downloadIshtar-f10181c013adb11a3629ccf2905f8bf1d0ec1433.tar.bz2
Ishtar-f10181c013adb11a3629ccf2905f8bf1d0ec1433.zip
Context records table: add new fields and reorder
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py5
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',