]> git.openstreetmap.org Git - osqa.git/blobdiff - forum_modules/mysqlfulltext/startup.py
Reverts the last commit, seems to cause some other issues.
[osqa.git] / forum_modules / mysqlfulltext / startup.py
index 363b4e1cb57bbe87020cfa6e345b41dc477ca464..b1031a532bccf8519a12f50159155deec9f05483 100644 (file)
@@ -31,4 +31,4 @@ word_re = re.compile(r'\w+', re.UNICODE)
 
 @decorate(QuestionManager.search, needs_origin=False)
 def question_search(self, keywords):
-    return False, self.filter(models.Q(ftsindex__body__search=keywords))
\ No newline at end of file
+    return False, self.filter(models.Q(ftsindex__body__search=keywords.upper()))
\ No newline at end of file