chore: typo

This commit is contained in:
Ankush Menat 2022-11-17 14:18:05 +05:30
parent 40f90d3e95
commit fd3c7903ba

View File

@ -222,7 +222,7 @@ def item_query(doctype, txt, searchfield, start, page_len, filters):
from frappe.desk.reportview import get_match_cond
from_doctype = cstr(filters.get("doctype"))
if not from_doctype or not frappe.db.exist("DocType", from_doctype):
if not from_doctype or not frappe.db.exists("DocType", from_doctype):
return []
mcond = get_match_cond(from_doctype)