X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/390a606c867e39c828628322621419d9d2bce453..c635cbc6c691a5b9baac0eee2e2135c1ededd4b6:/forum_modules/pgfulltext/handlers.py?ds=sidebyside diff --git a/forum_modules/pgfulltext/handlers.py b/forum_modules/pgfulltext/handlers.py index 780bfa9..2b40266 100644 --- a/forum_modules/pgfulltext/handlers.py +++ b/forum_modules/pgfulltext/handlers.py @@ -12,7 +12,7 @@ def question_search(self, keywords): tsquery = " | ".join(word_re.findall(keywords)) ilike = keywords + u"%%" - return True, self.extra( + return '-ranking', self.extra( tables = ['forum_rootnode_doc'], select={ 'ranking': """