summaryrefslogtreecommitdiff
path: root/archaeological_finds
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-02-03 09:56:25 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-02-03 09:56:25 +0100
commitfa394c855d338effcb92f4bafa264c5cb4dd70ba (patch)
tree385d4f2a4ee8aa2e627bf3881bffe024cca2197a /archaeological_finds
parent2a6d5aecafe22cd19ff5eeafeb02b4efc9b5a134 (diff)
downloadIshtar-fa394c855d338effcb92f4bafa264c5cb4dd70ba.tar.bz2
Ishtar-fa394c855d338effcb92f4bafa264c5cb4dd70ba.zip
Fix find-basket for own request
Diffstat (limited to 'archaeological_finds')
-rw-r--r--archaeological_finds/models_treatments.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py
index e94d1c272..57ab530bf 100644
--- a/archaeological_finds/models_treatments.py
+++ b/archaeological_finds/models_treatments.py
@@ -177,7 +177,7 @@ class Treatment(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem):
if menu_filtr:
if 'treatmentfile' in menu_filtr:
replace_query = Q(file=menu_filtr['treatmentfile'])
- if 'find' in menu_filtr:
+ if 'find' in menu_filtr and 'basket' not in menu_filtr['find']:
q = Q(upstream=menu_filtr['find']) | Q(
downstream=menu_filtr['find'])
if replace_query: