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 | cf316bfcd2299c1d930a8f9af9c44f8cd6a0bc58 (patch) | |
tree | 6f9f67897d36106520b51e5045e9e11852f44ba0 /archaeological_finds/models_finds.py | |
parent | 969ac961c199a889d860ffb14cc165b22ffcf701 (diff) | |
download | Ishtar-cf316bfcd2299c1d930a8f9af9c44f8cd6a0bc58.tar.bz2 Ishtar-cf316bfcd2299c1d930a8f9af9c44f8cd6a0bc58.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"] |