Show More
@@ -149,7 +149,10 b' class ReposController(BaseController):' | |||||
149 | def index(self, format='html'): |
|
149 | def index(self, format='html'): | |
150 | """GET /repos: All items in the collection""" |
|
150 | """GET /repos: All items in the collection""" | |
151 | # url('repos') |
|
151 | # url('repos') | |
152 | cached_repo_list = ScmModel().get_repos() |
|
152 | ||
|
153 | all_repos = [r.repo_name for r in Repository.query().all()] | |||
|
154 | ||||
|
155 | cached_repo_list = ScmModel().get_repos(all_repos) | |||
153 | c.repos_list = sorted(cached_repo_list, key=itemgetter('name_sort')) |
|
156 | c.repos_list = sorted(cached_repo_list, key=itemgetter('name_sort')) | |
154 | return render('admin/repos/repos.html') |
|
157 | return render('admin/repos/repos.html') | |
155 |
|
158 |
General Comments 0
You need to be logged in to leave comments.
Login now