瀏覽代碼

Merge pull request #5490 from pratu16x7/hotfix

[hotfix] query report dict key fetch
version-14
Prateeksha Singh 7 年之前
committed by GitHub
父節點
當前提交
4eab463969
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      frappe/desk/query_report.py

+ 1
- 1
frappe/desk/query_report.py 查看文件

@@ -293,7 +293,7 @@ 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[idx] not in match_filters[dt] and frappe.db.exists(dt, row[idx]):
if dt in match_filters and row.get(idx) not in match_filters.get(dt) and frappe.db.exists(dt, row.get(idx)):
match = False
break



Loading…
取消
儲存