diff options
Diffstat (limited to 'ishtar_common')
| -rw-r--r-- | ishtar_common/models.py | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index ffe078efd..ad7616b53 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -319,7 +319,9 @@ class ValueGetter:          exclude = kwargs.get("exclude", [])          values = {}          if ( -            hasattr(self, "qrcode") +            # qrcode for basefind is not relevant and interfere with find qrcode +            getattr(self, "SLUG", "") != "basefind" +            and hasattr(self, "qrcode")              and (not filtr or prefix + "qrcode_path" in filtr)              and prefix + "qrcode_path" not in exclude          ):  | 
