]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/models/question.py
Merge pull request #11 from udacity/make_faq_settings_translatable
[osqa.git] / forum / models / question.py
index 6fae319e79088aeef1e9ccb5b625d11be12369c9..5a7786de19092a3abed5a0d018a7f4c3053f198e 100644 (file)
@@ -3,7 +3,7 @@ from tag import Tag
 from django.utils.translation import ugettext as _
 
 class QuestionManager(NodeManager):
 from django.utils.translation import ugettext as _
 
 class QuestionManager(NodeManager):
-    def search(self, keywords):
+    def search(self, keywords, **kwargs):
         return False, self.filter(models.Q(title__icontains=keywords) | models.Q(body__icontains=keywords))
 
 class Question(Node):
         return False, self.filter(models.Q(title__icontains=keywords) | models.Q(body__icontains=keywords))
 
 class Question(Node):