Actions
Defect #19161
closed500 Internal error: sorting for column mail at Administration/User
Defect #19161:
500 Internal error: sorting for column mail at Administration/User
Resolution:
Fixed
Affected version:
Actions
Added by Grischa Zengel almost 12 years ago. Updated over 11 years ago.
Started GET "/users?sort=mail%2Clogin" for 192.168.11.10 at 2015-03-20 12:35:41 +0900
Processing by UsersController#index as HTML
Parameters: {"sort"=>"mail,login"}
Current user: admin (id=1)
SQLite3::SQLException: no such column: mail: SELECT "users".* FROM "users"
WHERE "users"."type" IN ('User', 'AnonymousUser') AND (users.status <> 0)
AND "users"."status" = ? ORDER BY mail, login LIMIT 25 OFFSET 0
Completed 500 Internal Server Error in 4ms
ActiveRecord::StatementInvalid (SQLite3::SQLException: no such column: mail:
SELECT "users".* FROM "users" WHERE "users"."type" IN ('User', 'AnonymousUser')
AND (users.status <> 0) AND "users"."status" = ? ORDER BY mail, login LIMIT 25 OFFSET 0):
app/controllers/users_controller.rb:51:in `index'
Ability to sort users by email removed in r14140.