Merge pull request #615 from coreos-inc/queriesunite
Unionize the mega query - It needed more performance-based benefits
This commit is contained in:
commit
24b54f1e34
7 changed files with 145 additions and 54 deletions
|
@ -203,7 +203,7 @@ class RepositoryList(ApiResource):
|
|||
'namespace': repo_obj.namespace_user.username,
|
||||
'name': repo_obj.name,
|
||||
'description': repo_obj.description,
|
||||
'is_public': repo_obj.visibility.name == 'public'
|
||||
'is_public': repo_obj.visibility_id == model.repository.get_public_repo_visibility(),
|
||||
}
|
||||
|
||||
repo_id = repo_obj.id
|
||||
|
|
Reference in a new issue