mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-21 21:40:48 +02:00
parent
67012821e6
commit
33f3135065
1 changed files with 2 additions and 1 deletions
|
@ -953,7 +953,8 @@ end
|
|||
end
|
||||
from.project do
|
||||
unless @todo.project_id == nil
|
||||
@down_count = current_user.projects.find(@todo.project_id).todos.active_or_hidden.count
|
||||
project = current_user.projects.find(@todo.project_id)
|
||||
@down_count = project.todos.active_or_hidden.count + project.todos.deferred.count + project.todos.pending.count
|
||||
end
|
||||
end
|
||||
from.deferred do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue