Commit 6b143566a538068c98bae68cf7608e6d33e918c9
1 parent
a676d34c
Exists in
master
and in
9 other branches
fixed to filter only for proposaltask
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
controllers/myprofile/proposals_discussion_plugin_tasks_controller.rb
@@ -21,7 +21,7 @@ class ProposalsDiscussionPluginTasksController < TasksController | @@ -21,7 +21,7 @@ class ProposalsDiscussionPluginTasksController < TasksController | ||
21 | 21 | ||
22 | # filter for evaluator profile | 22 | # filter for evaluator profile |
23 | if @view_only | 23 | if @view_only |
24 | - @tasks = Task.pending_all(profile, false, false).order_by('created_at', 'asc') | 24 | + @tasks = ProposalsDiscussionPlugin::ProposalTask.pending_all(profile, false, false).order_by('created_at', 'asc') |
25 | @tasks = @tasks.where(:responsible_id => current_person.id) | 25 | @tasks = @tasks.where(:responsible_id => current_person.id) |
26 | else | 26 | else |
27 | # filter for moderator | 27 | # filter for moderator |