From 063def052e4b2bcdded9b36541e328f270399d48 Mon Sep 17 00:00:00 2001 From: "Chinmay D. Pai" Date: Fri, 27 Mar 2020 18:54:18 +0530 Subject: [PATCH] chore: remove trailing closing bracket Signed-off-by: Chinmay D. Pai --- frappe/utils/global_search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/utils/global_search.py b/frappe/utils/global_search.py index 5abb29bab3..a5fcca8bb8 100644 --- a/frappe/utils/global_search.py +++ b/frappe/utils/global_search.py @@ -499,7 +499,7 @@ def web_search(text, scope=None, start=0, limit=20): common_query = ''' SELECT `doctype`, `name`, `content`, `title`, `route` FROM `__global_search` WHERE {conditions} - LIMIT %(limit)s OFFSET %(start)s}''' + LIMIT %(limit)s OFFSET %(start)s''' scope_condition = '`route` like "%(scope)s" AND ' if scope else '' published_condition = '`published` = 1 AND '