summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérôme Blondon <jblondon@bearstech.com>2011-04-22 12:20:31 +0200
committerJérôme Blondon <jblondon@bearstech.com>2011-04-22 12:20:31 +0200
commit6a9696dfee22c8174eb34f69174069582bc1a07d (patch)
tree3d6fdc04ee1161b67aa1957aef7445bd78adc5a6
parent657f0fef692dd27636aec1c21e45c1dac2c6e044 (diff)
parent1b3aae04470b5d02e701c758505b3bc1124bf564 (diff)
downloadaskbot-6a9696dfee22c8174eb34f69174069582bc1a07d.tar.gz
askbot-6a9696dfee22c8174eb34f69174069582bc1a07d.tar.bz2
askbot-6a9696dfee22c8174eb34f69174069582bc1a07d.zip
Merge branch 'master' of github.com:bearstech/askbot-devel
-rw-r--r--askbot/models/question.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/models/question.py b/askbot/models/question.py
index d1570877..bbfa4cfd 100644
--- a/askbot/models/question.py
+++ b/askbot/models/question.py
@@ -112,7 +112,7 @@ class QuestionQuerySet(models.query.QuerySet):
return self.extra(**extra_kwargs)
else:
#fallback to dumb title match search
- return extra(
+ return self.extra(
where=['title like %s'],
params=['%' + search_query + '%']
)