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 | fa394c855d338effcb92f4bafa264c5cb4dd70ba (patch) | |
| tree | 385d4f2a4ee8aa2e627bf3881bffe024cca2197a /archaeological_finds | |
| parent | 2a6d5aecafe22cd19ff5eeafeb02b4efc9b5a134 (diff) | |
| download | Ishtar-fa394c855d338effcb92f4bafa264c5cb4dd70ba.tar.bz2 Ishtar-fa394c855d338effcb92f4bafa264c5cb4dd70ba.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: |
