diff --git a/frappe/__init__.py b/frappe/__init__.py index 0a50013198..0448957e9c 100644 --- a/frappe/__init__.py +++ b/frappe/__init__.py @@ -17,7 +17,7 @@ from faker import Faker from .exceptions import * from .utils.jinja import get_jenv, get_template, render_template, get_email_from_template -__version__ = '10.1.26' +__version__ = '10.1.27' __title__ = "Frappe Framework" local = Local() diff --git a/frappe/desk/query_report.py b/frappe/desk/query_report.py index 45f311025d..33ee610535 100644 --- a/frappe/desk/query_report.py +++ b/frappe/desk/query_report.py @@ -293,7 +293,8 @@ def has_match(row, linked_doctypes, doctype_match_filters, ref_doctype, if_owner if dt=="User" and columns_dict[idx]==columns_dict.get("owner"): continue - if dt in match_filters and row.get(idx) not in match_filters.get(dt) and frappe.db.exists(dt, row.get(idx)): + cell_value = row[idx] + if dt in match_filters and cell_value not in match_filters.get(dt) and frappe.db.exists(dt, cell_value): match = False break