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