Commit 3d50338b0fee72107cb18b5a93f3c051c4ff31d9

Authored by Leandro Santos
1 parent dabe481a
Exists in master

adapting code to master changes

controllers/myprofile/proposals_discussion_plugin_tasks_controller.rb
... ... @@ -25,7 +25,7 @@ class ProposalsDiscussionPluginTasksController < TasksController
25 25  
26 26 # filter for evaluator profile
27 27 if @view_only
28   - @tasks = ProposalsDiscussionPlugin::ProposalTask.pending_all(profile, false, false).order_by('created_at', 'asc')
  28 + @tasks = ProposalsDiscussionPlugin::ProposalTask.pending_all_by_filter(profile, false, false).order_by('created_at', 'asc')
29 29 @tasks = @tasks.where(:responsible_id => current_person.id)
30 30 else
31 31 # filter for moderator
... ...