Fix: the context view doesn't show pending or due todos

This commit is contained in:
Sebastian Fischmeister 2012-02-20 21:56:36 -05:00
parent 00ddcbc9fa
commit 37ded2a7f8
2 changed files with 10 additions and 1 deletions

View file

@ -277,7 +277,7 @@ class ContextsController < ApplicationController
# search manually until I can work out a way to do the same thing using
# not_done_todos acts_as_todo_container method Hides actions in hidden
# projects from context.
@not_done_todos = @context.todos.active(
@not_done_todos = @context.todos.not_completed(
:order => "todos.due IS NULL, todos.due ASC, todos.created_at ASC",
:include => Todo::DEFAULT_INCLUDES)