Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/controllers/todos_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,8 @@ def determine_down_count
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
Expand Down