From d8df3977ac83876d47c7bc721db0758de2d4ea6b Mon Sep 17 00:00:00 2001 From: hernani Date: Thu, 23 Jun 2011 20:55:39 +0000 Subject: [PATCH] Fixes an error in the mysqlfulltext module introduced in one of the previous commits. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1070 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum_modules/mysqlfulltext/startup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forum_modules/mysqlfulltext/startup.py b/forum_modules/mysqlfulltext/startup.py index 1b12517..08926cb 100644 --- a/forum_modules/mysqlfulltext/startup.py +++ b/forum_modules/mysqlfulltext/startup.py @@ -54,5 +54,5 @@ def question_search(self, keywords): """, }, select_params=[keywords, keywords, keywords] - ).filter(Q(title__search=keywords) | Q(tagnames__search=keywords) | Q(body__search=keywords)) + ).filter(Q(ftsindex__title__search=keywords) | Q(ftsindex__tagnames__search=keywords) | Q(ftsindex__body__search=keywords)) return '-ranking', qs -- 2.39.5