diff --git a/frappe/desk/search.py b/frappe/desk/search.py index fb6b9b249f..7b5c65dca4 100644 --- a/frappe/desk/search.py +++ b/frappe/desk/search.py @@ -156,6 +156,7 @@ def search_widget( # build from doctype if txt: field_types = { + "Autocomplete", "Data", "Text", "Small Text", diff --git a/frappe/www/list.py b/frappe/www/list.py index 4feb9a6943..d912efe9fe 100644 --- a/frappe/www/list.py +++ b/frappe/www/list.py @@ -173,7 +173,9 @@ def get_list( or_filters.extend( [doctype, f, "like", "%" + txt + "%"] for f in meta.get_search_fields() - if f == "name" or meta.get_field(f).fieldtype in ("Data", "Text", "Small Text", "Text Editor") + if f == "name" + or meta.get_field(f).fieldtype + in ("Autocomplete", "Data", "Text", "Small Text", "Text Editor") ) else: if isinstance(filters, dict):