summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-15 10:20:35 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-15 10:20:35 +0100
commit4ac14d3e2e782a1f499724c685ce783003e9c146 (patch)
tree5d90d1864022c1d9ba2fa4ee17bc323f470a4d39 /archaeological_context_records/models.py
parent145e2100b001dcb682b0d60f02dcad95fb5bf1db (diff)
downloadIshtar-4ac14d3e2e782a1f499724c685ce783003e9c146.tar.bz2
Ishtar-4ac14d3e2e782a1f499724c685ce783003e9c146.zip
Tables: add missing headers (refs #3491)
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index 1ffdea2f3..dd0f0b736 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -153,7 +153,7 @@ class ContextRecord(BaseHistorizedItem, ImageModel, OwnPerms,
ValueGetter, ShortMenuItem):
SHOW_URL = 'show-contextrecord'
SLUG = 'contextrecord'
- TABLE_COLS = ['label', 'parcel__town__name', 'operation__common_name',
+ TABLE_COLS = ['label', 'operation__common_name', 'parcel__town__name',
'parcel__label', 'unit']
if settings.COUNTRY == 'fr':
TABLE_COLS.insert(1, 'operation__code_patriarche')
@@ -164,6 +164,7 @@ class ContextRecord(BaseHistorizedItem, ImageModel, OwnPerms,
'datings__period': _(u"Datings (period)"),
'detailled_related_context_records': _(u"Related context records"),
'operation__code_patriarche': u"Operation (code patriarche)",
+ 'operation__common_name': u"Operation (name)",
'parcel__external_id': _(u"Parcel (external ID)"),
'parcel__town__name': _(u"Parcel (town)"),
'parcel__town': _(u"Parcel (town)"),