X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/d8df3977ac83876d47c7bc721db0758de2d4ea6b..672db659df67242e10f1fb1853eae4342bc21ed3:/forum_modules/mysqlfulltext/startup.py diff --git a/forum_modules/mysqlfulltext/startup.py b/forum_modules/mysqlfulltext/startup.py index 08926cb..8c2af5f 100644 --- a/forum_modules/mysqlfulltext/startup.py +++ b/forum_modules/mysqlfulltext/startup.py @@ -51,7 +51,7 @@ def question_search(self, keywords): match(forum_mysqlftsindex.tagnames) against (%s) * 2 + match(forum_mysqlftsindex.title) against (%s) * 4 + match(forum_mysqlftsindex.body) against (%s) * 1 - """, + """, }, select_params=[keywords, keywords, keywords] ).filter(Q(ftsindex__title__search=keywords) | Q(ftsindex__tagnames__search=keywords) | Q(ftsindex__body__search=keywords))