Commit e58aca28 by Bridger Maxwell

Relaxed parameters for wiki search, to find more articles.

parent eeec1461
......@@ -258,7 +258,7 @@ def search_articles(request, wiki_url):
results._search = lambda x: results.filter(x)
results = results._search(Q(current_revision__contents__icontains = queryword) | \
Q(title = queryword))
Q(title__icontains = queryword))
else:
# Need to throttle results by splitting them into pages...
results = Article.objects.all()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment