From 4b525f5f66f10d9d7d0567c5bd7180bdcaed511d Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Thu, 19 Sep 2019 17:06:57 +0530 Subject: [PATCH] fix: Add sensible doctypes for global search --- frappe/hooks.py | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/frappe/hooks.py b/frappe/hooks.py index 21d753aca4..39694928d6 100644 --- a/frappe/hooks.py +++ b/frappe/hooks.py @@ -304,14 +304,16 @@ user_privacy_documents = [ global_search_doctypes = [ {"doctype": "Contact"}, {"doctype": "Address"}, - {"doctype": "Event"}, - {"doctype": "Note"}, - {"doctype": "Google Calendar"}, - {"doctype": "Auto Repeat"}, {"doctype": "ToDo"}, + {"doctype": "Note"}, + {"doctype": "Event"}, + {"doctype": "Blog Post"}, + {"doctype": "Dashboard"}, {"doctype": "Country"}, {"doctype": "Currency"}, {"doctype": "Newsletter"}, - {"doctype": "Contact Us Settings"}, - {"doctype": "Google Contacts"} -] \ No newline at end of file + {"doctype": "Letter Head"}, + {"doctype": "Workflow"}, + {"doctype": "Web Page"}, + {"doctype": "Web Form"} +]