chore: remove trailing closing bracket

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
This commit is contained in:
Chinmay D. Pai 2020-03-27 18:54:18 +05:30
parent 708248baf9
commit 063def052e
No known key found for this signature in database
GPG key ID: 75507BE256F40CED

View file

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