Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-06-15 05:09:48 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-06-17 22:17:43 +0300
commit2878c990052f78fae3cde21a1d2cd90dd5a85461 (patch)
tree6b026bd7ec4c80c2f46deef6e2009496a024b200 /app/finders/todos_finder.rb
parentbb4a1ef6c1ed4d367e6126ad64033e0286da6f15 (diff)
Ensure Todos counters doesn't count Todos for projects pending delete
Diffstat (limited to 'app/finders/todos_finder.rb')
-rw-r--r--app/finders/todos_finder.rb2
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