diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-06-14 23:09:48 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-06-17 16:17:43 -0300 |
commit | 2878c990052f78fae3cde21a1d2cd90dd5a85461 (patch) | |
tree | 6b026bd7ec4c80c2f46deef6e2009496a024b200 /app/finders | |
parent | bb4a1ef6c1ed4d367e6126ad64033e0286da6f15 (diff) | |
download | gitlab-ce-2878c990052f78fae3cde21a1d2cd90dd5a85461.tar.gz |
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 |