diff options
Diffstat (limited to 'app/views/projects/settings.rhtml')
-rw-r--r-- | app/views/projects/settings.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/settings.rhtml b/app/views/projects/settings.rhtml index 9299ce49c..8a891c010 100644 --- a/app/views/projects/settings.rhtml +++ b/app/views/projects/settings.rhtml @@ -23,7 +23,7 @@ <table class="list">
<thead><th><%= l(:label_user) %></th><th><%= l(:label_role) %></th><th></th></thead> <tbody> - <% for member in @project.members.find(:all, :include => :user) %>
+ <% @project.members.find(:all, :include => [:role, :user]).sort{|x,y| x.role.position <=> y.role.position}.each do |member| %>
<% unless member.new_record? %>
<tr class="<%= cycle 'odd', 'even' %>">
<td><%= member.user.display_name %></td>
|