From e908e064256296c8fcc13665832590e5ff4e3d99 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 3 Feb 2017 09:56:25 +0100 Subject: Fix find-basket for own request --- archaeological_finds/models_treatments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_finds') 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: -- cgit v1.2.3