Show only 2 tasks of the same periodic_task_group at dashboard
This commit is contained in:
parent
ad96159336
commit
47e4a9afdf
2 changed files with 13 additions and 3 deletions
|
|
@ -8,7 +8,7 @@ class HomeController < ApplicationController
|
|||
@next_tasks = Task.order(:due_date).next_assigned_tasks_for(current_user)
|
||||
# count tasks with no responsible person
|
||||
# tasks for groups the current user is not a member are ignored
|
||||
@unassigned_tasks = Task.order(:due_date).unassigned_tasks_for(current_user)
|
||||
@unassigned_tasks = Task.order(:due_date).next_unassigned_tasks_for(current_user)
|
||||
end
|
||||
|
||||
def profile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue