Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
da841106
Commit
da841106
authored
Jul 02, 2018
by
Jarka Kadlecová
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove extra whitespace
parent
50c1a989
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/finders/todos_finder.rb
app/finders/todos_finder.rb
+2
-2
No files found.
app/finders/todos_finder.rb
View file @
da841106
...
...
@@ -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
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment