diff options
Diffstat (limited to 'forum_modules/sphinxfulltext/handlers.py')
-rwxr-xr-x | forum_modules/sphinxfulltext/handlers.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/forum_modules/sphinxfulltext/handlers.py b/forum_modules/sphinxfulltext/handlers.py index 665c9380..226acf72 100755 --- a/forum_modules/sphinxfulltext/handlers.py +++ b/forum_modules/sphinxfulltext/handlers.py @@ -1,4 +1,4 @@ -from forum.models import Question
-
-def question_search(keywords, orderby):
+from forum.models import Question + +def question_search(keywords, orderby): return Question.search.query(keywords)
\ No newline at end of file |