Skip to content

Commit

Permalink
fixed within-letter sorting of usernames
Browse files Browse the repository at this point in the history
  • Loading branch information
Kat Hagan committed Mar 31, 2011
1 parent ec60742 commit 7ba2e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7ba2e59

Please sign in to comment.