diff options
| 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 |
| commit | e908e064256296c8fcc13665832590e5ff4e3d99 (patch) | |
| tree | 385d4f2a4ee8aa2e627bf3881bffe024cca2197a /archaeological_finds | |
| parent | 219a775ed06ba6e75b2a9a04af406aea3ef579bb (diff) | |
| download | Ishtar-e908e064256296c8fcc13665832590e5ff4e3d99.tar.bz2 Ishtar-e908e064256296c8fcc13665832590e5ff4e3d99.zip | |
Fix find-basket for own request
Diffstat (limited to 'archaeological_finds')
| -rw-r--r-- | archaeological_finds/models_treatments.py | 2 |
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: |
