mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
parent
67012821e6
commit
33f3135065
1 changed files with 2 additions and 1 deletions
|
@ -953,7 +953,8 @@ end
|
||||||
end
|
end
|
||||||
from.project do
|
from.project do
|
||||||
unless @todo.project_id == nil
|
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
|
||||||
end
|
end
|
||||||
from.deferred do
|
from.deferred do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue