summaryrefslogtreecommitdiff
path: root/archaeological_finds/models_finds.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-09 07:49:37 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-09 07:49:37 +0100
commit16f379555b2150162efd8ffcfa0582b86dc8df0e (patch)
tree9d1a76529bcacfe6745e934bb4c752d3dd699c38 /archaeological_finds/models_finds.py
parentcd2d17c90acff9865671885fff754193c80cdb79 (diff)
downloadIshtar-16f379555b2150162efd8ffcfa0582b86dc8df0e.tar.bz2
Ishtar-16f379555b2150162efd8ffcfa0582b86dc8df0e.zip
Find search: change image search query
Diffstat (limited to 'archaeological_finds/models_finds.py')
-rw-r--r--archaeological_finds/models_finds.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py
index bf5ba6380..5c28d1a69 100644
--- a/archaeological_finds/models_finds.py
+++ b/archaeological_finds/models_finds.py
@@ -562,7 +562,8 @@ class Find(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem):
'base_finds__batch': 'base_finds__batch',
'basket': 'basket',
'cached_label': 'cached_label__icontains',
- 'image': 'image__isnull'}
+ 'image__isnull': 'image__isnull',
+ }
EXTRA_REQUEST_KEYS.update(
dict(
[(key, key) for key in TABLE_COLS