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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
864bb697
Commit
864bb697
authored
Mar 22, 2021
by
charlie ablett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unneeded group filter
parent
84831bb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
app/finders/issuable_finder.rb
app/finders/issuable_finder.rb
+2
-7
No files found.
app/finders/issuable_finder.rb
View file @
864bb697
...
...
@@ -125,14 +125,14 @@ class IssuableFinder
end
def
filter_items
(
items
)
# Selection by group is already covered by `by_project` and `projects` for project-based issuables
# Group-based issuables have their own group filter methods
items
=
by_project
(
items
)
items
=
by_group
(
items
)
items
=
by_scope
(
items
)
items
=
by_created_at
(
items
)
items
=
by_updated_at
(
items
)
items
=
by_closed_at
(
items
)
items
=
by_state
(
items
)
items
=
by_group
(
items
)
items
=
by_assignee
(
items
)
items
=
by_author
(
items
)
items
=
by_non_archived
(
items
)
...
...
@@ -320,11 +320,6 @@ class IssuableFinder
end
end
def
by_group
(
items
)
# Selection by group is already covered by `by_project` and `projects`
items
end
# rubocop: disable CodeReuse/ActiveRecord
def
by_project
(
items
)
if
params
.
project?
...
...
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