summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-02-14 23:35:26 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-02-14 23:35:26 +0100
commit473912d6efb9e8888c4f1c717bdf97049b546136 (patch)
treee023741ed88db7f597ad9ae739f8aefb39a08778
parentbc495632613fd741b8d55d1cdced0921f11ff4be (diff)
downloadIshtar-473912d6efb9e8888c4f1c717bdf97049b546136.tar.bz2
Ishtar-473912d6efb9e8888c4f1c717bdf97049b546136.zip
Finds table: fix columns
-rw-r--r--archaeological_finds/models_finds.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py
index c8903fc10..8f0270236 100644
--- a/archaeological_finds/models_finds.py
+++ b/archaeological_finds/models_finds.py
@@ -325,7 +325,7 @@ class Find(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem):
TABLE_COLS_FOR_OPE = [
'base_finds__cache_short_id',
'base_finds__cache_complete_id',
- 'previous_id', 'label', 'material_types',
+ 'previous_id', 'label', 'material_types__label',
'datings__period__label', 'find_number', 'object_types',
'container__cached_label',
'description',
@@ -334,6 +334,7 @@ class Find(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem):
COL_LABELS = {
'datings__period__label': _(u"Periods"),
'container__cached_label': _(u"Container"),
+ 'material_types__label': _(u"Material types"),
}
EXTRA_FULL_FIELDS = [