X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/c5d90a38dbdce2358bee6ba244a7cdedab5a249e..ec62bc84aa89b5e946104bc4dcdf78f382c90165:/forum/models/question.py diff --git a/forum/models/question.py b/forum/models/question.py index 6fae319..5a7786d 100644 --- a/forum/models/question.py +++ b/forum/models/question.py @@ -3,7 +3,7 @@ from tag import Tag 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):