summaryrefslogtreecommitdiff
path: root/archaeological_finds
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-09-21 18:19:06 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-09-21 18:19:06 +0200
commitdb31e48eeef75a4eb24e7170cdd97c0c84d6234a (patch)
treed9ae5b85b6a6e50a51c473679ba90dc9a8f21526 /archaeological_finds
parent73e7574e1d3aa096e3a0e8fa17d4d89ab1219353 (diff)
downloadIshtar-db31e48eeef75a4eb24e7170cdd97c0c84d6234a.tar.bz2
Ishtar-db31e48eeef75a4eb24e7170cdd97c0c84d6234a.zip
Add object type as a hierarchical search (refs #3742)
Diffstat (limited to 'archaeological_finds')
-rw-r--r--archaeological_finds/models_finds.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py
index a335eb6ec..811e6be74 100644
--- a/archaeological_finds/models_finds.py
+++ b/archaeological_finds/models_finds.py
@@ -503,7 +503,7 @@ class Find(BulkUpdatedItem, ValueGetter, BaseHistorizedItem, ImageModel,
'base_finds__context_record__operation__common_name',
'base_finds__context_record__parcel',
'base_finds__context_record__label',
- 'material_types__label', 'object_types',
+ 'material_types__label', 'object_types__label',
'datings__period__label',
'container__cached_label',
'base_finds__batch', ]
@@ -514,7 +514,7 @@ class Find(BulkUpdatedItem, ValueGetter, BaseHistorizedItem, ImageModel,
'base_finds__cache_short_id',
'base_finds__cache_complete_id',
'previous_id', 'label', 'material_types__label',
- 'datings__period__label', 'find_number', 'object_types',
+ 'datings__period__label', 'find_number', 'object_types__label',
'container__cached_label',
'description',
'base_finds__context_record__parcel__town',
@@ -541,6 +541,7 @@ class Find(BulkUpdatedItem, ValueGetter, BaseHistorizedItem, ImageModel,
'container__cached_label': _(u"Container"),
'datings__period__label': _(u"Periods"),
'material_types__label': _(u"Material types"),
+ 'object_types__label': _(u"Object types"),
}
EXTRA_FULL_FIELDS = [