# HG changeset patch # User Chris Cannam # Date 1305025204 -3600 # Node ID 19549b0c417a3ad8ecc7f81d5f040c872395b612 # Parent 6b3e9f512761ac5152015fe7e123419c87dc9d6e# Parent a9921f3e908861f9d973b1b73be1f0fccf3fcf76 Merge from branch bug_133 diff -r 6b3e9f512761 -r 19549b0c417a app/controllers/projects_controller.rb --- a/app/controllers/projects_controller.rb Tue May 10 10:10:24 2011 +0100 +++ b/app/controllers/projects_controller.rb Tue May 10 12:00:04 2011 +0100 @@ -59,7 +59,9 @@ @offset ||= @project_pages.current.offset @projects = Project.visible_roots.all(:offset => @offset, :limit => @limit, :order => sort_clause) if User.current.logged? - @user_projects = User.current.projects.sort_by(&:name) + # seems sort_by gives us case-sensitive ordering, which we don't want +# @user_projects = User.current.projects.sort_by(&:name) + @user_projects = User.current.projects.all(:order => :name) end render :template => 'projects/index.rhtml', :layout => !request.xhr? }