# HG changeset patch # User Marcin Kuzminski # Date 2010-05-25 23:40:01 # Node ID f7dadd356c79ae89c7a8b73fddefe89298f8e3c0 # Parent 0eedbbc58ed9c46df443e9122cf8da6b2bc2f222 fixed sorting of repos with big letters diff --git a/pylons_app/model/hg_model.py b/pylons_app/model/hg_model.py --- a/pylons_app/model/hg_model.py +++ b/pylons_app/model/hg_model.py @@ -47,7 +47,7 @@ class HgModel(object): tmp_d = {} tmp_d['name'] = mercurial_repo.name - tmp_d['name_sort'] = tmp_d['name'] + tmp_d['name_sort'] = tmp_d['name'].lower() tmp_d['description'] = mercurial_repo.description tmp_d['description_sort'] = tmp_d['description'] tmp_d['last_change'] = last_change