Mercurial > public > src > rhodecode
diff pylons_app/controllers/repos.py @ 247:51434007e21d
proper sorting fix
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 03 Jun 2010 16:01:47 +0200 |
parents | ca80f8c00562 |
children | fb7f066126cc |
line wrap: on
line diff
--- a/pylons_app/controllers/repos.py Thu Jun 03 01:01:36 2010 +0200 +++ b/pylons_app/controllers/repos.py Thu Jun 03 16:01:47 2010 +0200 @@ -27,7 +27,7 @@ """GET /repos: All items in the collection""" # url('repos') cached_repo_list = HgModel().get_repos() - c.repos_list = sorted(cached_repo_list, key=itemgetter('name')) + c.repos_list = sorted(cached_repo_list, key=itemgetter('name_sort')) return render('admin/repos/repos.html') def create(self):