X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/c5d90a38dbdce2358bee6ba244a7cdedab5a249e..99d077e46d0eb3efd5e96a65f120e6e4b6197db0:/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):