Commit 35241d52 authored by Jeremy Kerr's avatar Jeremy Kerr
Browse files

xmlrpc: filter projects on linkname, not name


Signed-off-by: default avatarJeremy Kerr <jk@ozlabs.org>
parent b8b0ac61
......@@ -108,7 +108,7 @@ def project_list(search_str="", max_count=0):
"""Get a list of projects matching the given filters."""
try:
if len(search_str) > 0:
projects = Project.objects.filter(name__icontains = search_str)
projects = Project.objects.filter(linkname__icontains = search_str)
else:
projects = Project.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