Skip to content
Snippets Groups Projects
Commit e58aca28 authored by Bridger Maxwell's avatar Bridger Maxwell
Browse files

Relaxed parameters for wiki search, to find more articles.

parent eeec1461
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment