Procházet zdrojové kódy

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

fix: contact not showing in form
version-14
mergify[bot] před 4 roky
committed by GitHub
rodič
revize
bc320acdab
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 4AEE18F83AFDEB23
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      frappe/contacts/doctype/contact/contact.py

+ 1
- 1
frappe/contacts/doctype/contact/contact.py Zobrazit soubor

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


Načítá se…
Zrušit
Uložit