diff options
Diffstat (limited to 'archaeological_finds/views.py')
| -rw-r--r-- | archaeological_finds/views.py | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/archaeological_finds/views.py b/archaeological_finds/views.py index 17f1a3f4d..b01cd4934 100644 --- a/archaeological_finds/views.py +++ b/archaeological_finds/views.py @@ -27,6 +27,7 @@ import models  get_find = get_item(models.Find, 'get_find', 'find',      bool_fields = ['base_finds__is_isolated'], +    reversed_bool_fields = ['image__isnull'],      base_request={'downstream_treatment__isnull':True},      extra_request_keys={          'base_finds__context_record__parcel__town': @@ -38,7 +39,8 @@ get_find = get_item(models.Find, 'get_find', 'find',          'dating__period':'dating__period__pk',          'base_finds__find__description':              'base_finds__find__description__icontains', -        'base_finds__is_isolated':'base_finds__is_isolated'}) +        'base_finds__is_isolated':'base_finds__is_isolated', +        'image':'image__isnull'})  get_findsource = get_item(models.FindSource, 'get_findsource', 'findsource',      extra_request_keys={          'find__context_record__operation__year':  | 
