Merge pull request #11363 from AfshanKhan/fix-contact-query
fix: contact not showing in form
This commit is contained in:
commit
bc320acdab
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ def contact_query(doctype, txt, searchfield, start, page_len, filters):
|
|||
from frappe.desk.reportview import get_match_cond
|
||||
|
||||
if not frappe.get_meta("Contact").get_field(searchfield)\
|
||||
or searchfield not in frappe.db.DEFAULT_COLUMNS:
|
||||
and searchfield not in frappe.db.DEFAULT_COLUMNS:
|
||||
return []
|
||||
|
||||
link_doctype = filters.pop('link_doctype')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue