[Git][noosfero/noosfero][master] admin: avoid ambiguity on user query
Rodrigo Souto
gitlab at mg.gitlab.com
Fri Jul 20 16:48:33 BRT 2018
Rodrigo Souto pushed to branch master at Noosfero / noosfero
Commits:
ed70c204 by Rodrigo Souto at 2018-07-20T19:47:53Z
admin: avoid ambiguity on user query
- - - - -
1 changed file:
- app/controllers/admin/users_controller.rb
Changes:
=====================================
app/controllers/admin/users_controller.rb
=====================================
@@ -106,7 +106,7 @@ class UsersController < AdminController
end
end
- scope = scope.order('name ASC')
+ scope = scope.order('profiles.name ASC')
find_by_contents(:people, environment, scope, params[:q],
pagination_opts)[:results]
end
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/ed70c2041416aa36ade4229c3075e57c099f3192
--
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/ed70c2041416aa36ade4229c3075e57c099f3192
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20180720/54c82e7c/attachment.html>
More information about the Noosfero-dev
mailing list