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:
authorJarka Kadlecová <jarka@gitlab.com>2018-07-02 18:16:09 +0300
committerJarka Kadlecová <jarka@gitlab.com>2018-07-03 10:34:44 +0300
commitda841106a965a6cfb8c94df6704e6d23a2de67e5 (patch)
tree4d61000fe87edfcf46140b324923e59f7a8cc669 /app/finders/todos_finder.rb
parent50c1a989cc9c756c343e1f169474e35c3850bbc1 (diff)
Remove extra whitespace
Diffstat (limited to 'app/finders/todos_finder.rb')
-rw-r--r--app/finders/todos_finder.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/finders/todos_finder.rb b/app/finders/todos_finder.rb
index ea1420712a7..2156413fb26 100644
--- a/app/finders/todos_finder.rb
+++ b/app/finders/todos_finder.rb
@@ -161,7 +161,7 @@ class TodosFinder
if group?
groups = group.self_and_descendants
items = items.where(
- 'project_id IN (?) OR group_id IN (?)',
+ 'project_id IN (?) OR group_id IN (?)',
Project.where(group: groups).select(:id),
groups.select(:id)
)
@@ -178,7 +178,7 @@ class TodosFinder
.joins('LEFT JOIN namespaces ON namespaces.id = todos.group_id')
.joins('LEFT JOIN projects ON projects.id = todos.project_id')
.where(
- 'project_id IN (?) OR group_id IN (?)',
+ 'project_id IN (?) OR group_id IN (?)',
projects.select(:id),
groups.select(:id)
)