11060: sort order and delete prompt updated
[arvados.git] / apps / workbench / app / controllers / users_controller.rb
index 6f527cd1aca3bf824fc25ece100a5117cc4e53d8..350f297af3bbcea1b3f9797b273ab15c7cf072c0 100644 (file)
@@ -258,7 +258,7 @@ class UsersController < ApplicationController
 
   def repositories
     # all repositories accessible by current user
-    all_repositories = Hash[Repository.all.order(:name).collect {|repo| [repo.uuid, repo]}]
+    all_repositories = Hash[Repository.all.order('name asc').collect {|repo| [repo.uuid, repo]}]
 
     @my_repositories = [] # we want them ordered as owned and the rest
     @repo_writable = {}