mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-28 04:48:49 +01:00
Fix: the context view doesn't show pending or due todos
This commit is contained in:
parent
00ddcbc9fa
commit
37ded2a7f8
2 changed files with 10 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue