diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-07-11 19:57:15 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-07-11 19:57:15 +0000 |
commit | 0a4d2affd8f98351571e6b41936e59aa5074a5d8 (patch) | |
tree | 4d810bd69be7179dd5709082963e1e5208394fe3 /app | |
parent | 9cb68f7b296f4fc61b61c0cc3b8a099a116ee6f3 (diff) | |
download | redmine-0a4d2affd8f98351571e6b41936e59aa5074a5d8.tar.gz redmine-0a4d2affd8f98351571e6b41936e59aa5074a5d8.zip |
Fixed one query per member on project settings.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12008 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/settings/_members.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/settings/_members.html.erb b/app/views/projects/settings/_members.html.erb index 87c8f8be3..8429a426e 100644 --- a/app/views/projects/settings/_members.html.erb +++ b/app/views/projects/settings/_members.html.erb @@ -1,6 +1,6 @@ <%= error_messages_for 'member' %> <% roles = Role.find_all_givable - members = @project.member_principals.includes(:roles, :principal).all.sort %> + members = @project.member_principals.includes(:member_roles, :roles, :principal).all.sort %> <div class="splitcontentleft"> <% if members.any? %> |