Ver código fonte

Merge pull request #11363 from AfshanKhan/fix-contact-query

fix: contact not showing in form
version-14
mergify[bot] 4 anos atrás
committed by GitHub
pai
commit
bc320acdab
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      frappe/contacts/doctype/contact/contact.py

+ 1
- 1
frappe/contacts/doctype/contact/contact.py Ver arquivo

@@ -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')


Carregando…
Cancelar
Salvar