diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-02-28 18:34:45 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-02-28 18:34:45 +0100 |
commit | 530cfa43429736e83bede04d32985982ec6dfc78 (patch) | |
tree | 6f9f67897d36106520b51e5045e9e11852f44ba0 /archaeological_finds/models_finds.py | |
parent | 074234d96df7be874a882872f4a6f4df3ef59e23 (diff) | |
download | Ishtar-530cfa43429736e83bede04d32985982ec6dfc78.tar.bz2 Ishtar-530cfa43429736e83bede04d32985982ec6dfc78.zip |
Reorganize find wizard
Diffstat (limited to 'archaeological_finds/models_finds.py')
-rw-r--r-- | archaeological_finds/models_finds.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index 047c08ffc..bbd9ff7e6 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -255,7 +255,7 @@ class BaseFind(BulkUpdatedItem, BaseHistorizedItem, OwnPerms): CACHED_LABELS = ['cache_short_id', 'cache_complete_id'] PARENT_SEARCH_VECTORS = ['context_record'] BASE_SEARCH_VECTORS = ["label", "description", "comment", "cache_short_id", - "cache_complete_id"] + "cache_complete_id", "excavation_id"] class Meta: verbose_name = _(u"Base find") @@ -784,7 +784,9 @@ class Find(BulkUpdatedItem, ValueGetter, BaseHistorizedItem, ImageModel, BASE_SEARCH_VECTORS = [ "cached_label", "label", "description", "container__location__name", "container__reference", "mark", "comment", "dating_comment", - "previous_id"] + "previous_id", "denomination", "museum_id", "decoration", + "manufacturing_place" + ] M2M_SEARCH_VECTORS = [ "datings__period__label", "object_types__label", "integrities__label", "remarkabilities__label", "material_types__label"] |