diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-06-07 11:09:35 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-06-12 10:46:13 +0200 |
commit | 07f24f648504004adbb57b16bd18fbd23a3c3998 (patch) | |
tree | d605a5b6bc1aa62d20631a965fc6bd6fd341bc86 /archaeological_finds/models_finds.py | |
parent | 5341c3beb0fc3b52e864156bbfee54db78612b20 (diff) | |
download | Ishtar-07f24f648504004adbb57b16bd18fbd23a3c3998.tar.bz2 Ishtar-07f24f648504004adbb57b16bd18fbd23a3c3998.zip |
Fix tests and fixtures for new document management (refs #4107)
Diffstat (limited to 'archaeological_finds/models_finds.py')
-rw-r--r-- | archaeological_finds/models_finds.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index a217eb079..b269c0135 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -647,7 +647,7 @@ class Find(BulkUpdatedItem, ValueGetter, BaseHistorizedItem, OwnPerms, ATTRS_EQUIV = {'get_first_base_find': 'base_finds'} # search parameters - REVERSED_BOOL_FIELDS = ['images__pk__isnull'] + REVERSED_BOOL_FIELDS = ['documents__image__isnull'] RELATION_TYPES_PREFIX = { 'ope_relation_types': 'base_finds__context_record__operation__', @@ -687,7 +687,7 @@ class Find(BulkUpdatedItem, ValueGetter, BaseHistorizedItem, OwnPerms, 'base_finds__batch': 'base_finds__batch', 'basket': 'basket', 'cached_label': 'cached_label__icontains', - 'images__pk__isnull': 'images__pk__isnull', + 'documents__image__isnull': 'documents__image__isnull', 'container__location': 'container__location__pk', 'container__responsible': 'container__responsible__pk', 'container__index': 'container__index', |