diff --git a/tracks/app/controllers/todo_controller.rb b/tracks/app/controllers/todo_controller.rb index 281506bd..1a063916 100644 --- a/tracks/app/controllers/todo_controller.rb +++ b/tracks/app/controllers/todo_controller.rb @@ -20,8 +20,8 @@ class TodoController < ApplicationController @page_title = "TRACKS::List tasks" @projects = Project.find_all @places = Context.find_all - @shown_places = Context.find_all_by_hide( 0, "position ASC") - @hidden_places = Context.find_all_by_hide( 1, "position ASC" ) + @shown_places = Context.find_all_by_hide( "0", "position ASC") + @hidden_places = Context.find_all_by_hide( "1", "position ASC" ) @done = Todo.find_all_by_done( 1, "completed DESC", 5 ) # Set count badge to number of not-done, not hidden context items