mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
Merge 33f3135065 into 17ea1e71be
This commit is contained in:
commit
51e5ff593b
1 changed files with 2 additions and 1 deletions
|
|
@ -940,7 +940,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