diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-11-13 12:40:56 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:21 +0100 |
commit | 774f682838f56443daf81c48ffde6377788a10f3 (patch) | |
tree | d3468cb46fefa64abf0f5c50d687ec29d64168aa /archaeological_finds/models_treatments.py | |
parent | 813045eb9613d8ee88faec69ec79bc2bcdb3e49a (diff) | |
download | Ishtar-774f682838f56443daf81c48ffde6377788a10f3.tar.bz2 Ishtar-774f682838f56443daf81c48ffde6377788a10f3.zip |
Labels: fix filtering
Diffstat (limited to 'archaeological_finds/models_treatments.py')
-rw-r--r-- | archaeological_finds/models_treatments.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py index 073083af4..2bfe8d2cb 100644 --- a/archaeological_finds/models_treatments.py +++ b/archaeological_finds/models_treatments.py @@ -350,10 +350,9 @@ class Treatment(DashboardFormItem, ValueGetter, DocumentItem, if 'associatedfind_' not in prefix and self.upstream.count(): find = self.upstream.all()[0] new_prefix = prefix + 'associatedfind_' - new_filtr = self._get_values_update_sub_filter(filtr, new_prefix) values.update( find.get_values(prefix=new_prefix, no_values=True, - filtr=new_filtr, **kwargs)) + filtr=filtr, **kwargs)) return values def pre_save(self): |