diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-06-15 05:09:48 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-06-17 22:17:43 +0300 |
commit | 2878c990052f78fae3cde21a1d2cd90dd5a85461 (patch) | |
tree | 6b026bd7ec4c80c2f46deef6e2009496a024b200 /app/finders | |
parent | bb4a1ef6c1ed4d367e6126ad64033e0286da6f15 (diff) |
Ensure Todos counters doesn't count Todos for projects pending delete
Diffstat (limited to 'app/finders')
-rw-r--r-- | app/finders/todos_finder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/todos_finder.rb b/app/finders/todos_finder.rb index aa47c6c157e..58a00f88af7 100644 --- a/app/finders/todos_finder.rb +++ b/app/finders/todos_finder.rb @@ -123,7 +123,7 @@ class TodosFinder end def by_state(items) - case params[:state] + case params[:state].to_s when 'done' items.done else |