changeset 222:f7dadd356c79

fixed sorting of repos with big letters
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 25 May 2010 23:40:01 +0200
parents 0eedbbc58ed9
children 4cf00c939e88
files pylons_app/model/hg_model.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pylons_app/model/hg_model.py	Tue May 25 22:03:10 2010 +0200
+++ b/pylons_app/model/hg_model.py	Tue May 25 23:40:01 2010 +0200
@@ -47,7 +47,7 @@
                 
             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