Commit 9cc834e05392fa3979c1d5faa6bb242db4716974
1 parent
d476d310
Exists in
master
and in
7 other branches
Added ordering responsibles candidates by name ascending
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
controllers/myprofile/proposals_discussion_plugin_tasks_controller.rb
... | ... | @@ -43,7 +43,7 @@ class ProposalsDiscussionPluginTasksController < TasksController |
43 | 43 | |
44 | 44 | @failed = params ? params[:failed] : {} |
45 | 45 | |
46 | - @responsible_candidates = profile.members.by_role(profile.roles.reject {|r| !r.has_permission?('perform_task')}) if profile.organization? | |
46 | + @responsible_candidates = profile.members.by_role(profile.roles.reject {|r| !r.has_permission?('perform_task')}).order('name asc') if profile.organization? | |
47 | 47 | end |
48 | 48 | |
49 | 49 | def save_categories | ... | ... |