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
9603f680
Commit
9603f680
authored
Aug 25, 2020
by
Igor Drozdov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable merge_request_draft_filter by default
parent
787ad7eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
app/finders/merge_requests_finder.rb
app/finders/merge_requests_finder.rb
+3
-1
changelogs/unreleased/id-enable-merge-request-draft-filter.yml
...elogs/unreleased/id-enable-merge-request-draft-filter.yml
+5
-0
No files found.
app/finders/merge_requests_finder.rb
View file @
9603f680
...
...
@@ -110,7 +110,9 @@ class MergeRequestsFinder < IssuableFinder
.
or
(
table
[
:title
].
matches
(
'WIP %'
))
.
or
(
table
[
:title
].
matches
(
'[WIP]%'
))
return
items
unless
Feature
.
enabled?
(
:merge_request_draft_filter
)
# Let's keep this FF around until https://gitlab.com/gitlab-org/gitlab/-/issues/232999
# is implemented
return
items
unless
Feature
.
enabled?
(
:merge_request_draft_filter
,
default_enabled:
true
)
items
.
or
(
table
[
:title
].
matches
(
'Draft - %'
))
...
...
changelogs/unreleased/id-enable-merge-request-draft-filter.yml
0 → 100644
View file @
9603f680
---
title
:
Include draft merge request into filter response
merge_request
:
40376
author
:
type
:
changed
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