]> git.openstreetmap.org Git - osqa.git/blobdiff - forum_modules/pgfulltext/handlers.py
Ignore active copies of setting files
[osqa.git] / forum_modules / pgfulltext / handlers.py
index 780bfa97e60cf687b5d2f24b8c400124a7fbbb87..2b402666c6429f70d816788d34cf058f907f8006 100644 (file)
@@ -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': """