From 7ba2e5906c0297dfbf2676dce7a6c7c10214fd69 Mon Sep 17 00:00:00 2001 From: Kat Hagan Date: Thu, 31 Mar 2011 19:19:00 -0400 Subject: [PATCH] fixed within-letter sorting of usernames --- controllers/users_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/users_controller.rb b/controllers/users_controller.rb index a5c56571..a80c6a02 100644 --- a/controllers/users_controller.rb +++ b/controllers/users_controller.rb @@ -75,7 +75,7 @@ class Rstatus # Sort users alphabetically when filtering by letter if params[:letter] - @users = @users.sort(:username.desc) + @users = @users.sort(:username.asc) else @users = @users.sort(:created_at.desc) end