Add namespace to be returned by docker search

Fixes #956
This commit is contained in:
Joseph Schorr 2015-12-17 16:38:06 -05:00
parent 16f814b7d9
commit 327258c83e

View file

@ -307,7 +307,7 @@ def conduct_repo_search(username, query, results):
for repo in matching_repos:
results.append({
'name': repo.name,
'name': repo.namespace_user.username + '/' + repo.name,
'description': repo.description,
'is_public': repo.is_public,
'href': '/repository/' + repo.namespace_user.username + '/' + repo.name