summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-03-17 17:44:29 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-03-17 17:44:29 +0000
commitb481e76ee2b54a57a91d74269270321983635dab (patch)
tree75bbd7167bf04d1f8873a8f4547f7e27c03501a3 /app/controllers
parent3477f9bfe08822eb8cc9538ff1e11133410cd212 (diff)
downloadredmine-b481e76ee2b54a57a91d74269270321983635dab.tar.gz
redmine-b481e76ee2b54a57a91d74269270321983635dab.zip
members are now sorted according to roles order on projects/show
removed the useless "members" item in the project menu git-svn-id: http://redmine.rubyforge.org/svn/trunk@341 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index 61b772194..f02a0e1e6 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -82,7 +82,7 @@ class ProjectsController < ApplicationController
# Show @project
def show
@custom_values = @project.custom_values.find(:all, :include => :custom_field)
- @members = @project.members.find(:all, :include => [:user, :role])
+ @members = @project.members.find(:all, :include => [:user, :role], :order => 'position')
@subprojects = @project.children if @project.children.size > 0
@news = @project.news.find(:all, :limit => 5, :include => [ :author, :project ], :order => "#{News.table_name}.created_on DESC")
@trackers = Tracker.find(:all, :order => 'position')