Remove 'project_hidden' state

Compute it using project/context state

Notable change:
todo.hidden? now also returns true if the todo is completed
This commit is contained in:
Carsten Otto 2016-01-24 00:52:23 +01:00
parent 543f49ed8a
commit ed3bca22a4
12 changed files with 66 additions and 106 deletions

View file

@ -13,7 +13,7 @@ class SearchController < ApplicationController
@count = searcher.number_of_finds
init_not_done_counts
init_project_hidden_todo_counts
init_hidden_todo_counts
end
def index