diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-12-03 14:00:23 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:22 +0100 |
commit | 42e32d4cdd18474c4daf5bf960cebb0855dad9ef (patch) | |
tree | 0081995b45531ce4769fe070baaf06b97b3b7ffe /archaeological_finds/models_finds.py | |
parent | c42aecdda25802c2b3b9db27179720517f2be70e (diff) | |
download | Ishtar-42e32d4cdd18474c4daf5bf960cebb0855dad9ef.tar.bz2 Ishtar-42e32d4cdd18474c4daf5bf960cebb0855dad9ef.zip |
Add doc search to operations
Diffstat (limited to 'archaeological_finds/models_finds.py')
-rw-r--r-- | archaeological_finds/models_finds.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index 6bb8d042e..494bb8a97 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -1379,8 +1379,7 @@ class Find(BulkUpdatedItem, ValueGetter, DocumentItem, BaseHistorizedItem, 'appraisal_date__gte'), 'cultural_attributions': SearchAltName( pgettext_lazy("key for text search", "cultural-attribution"), - 'cultural_attributions__label__iexact' - ), + 'cultural_attributions__label__iexact'), } ALT_NAMES.update(BaseHistorizedItem.ALT_NAMES) ALT_NAMES.update(DocumentItem.ALT_NAMES) |