Commit d55ed486 authored by Jan Provaznik's avatar Jan Provaznik

Merge branch 'id-enable-merge-request-draft-filter' into 'master'

Enable merge_request_draft_filter by default

See merge request gitlab-org/gitlab!40376
parents 2df7a6e7 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 - %'))
......
---
title: Include draft merge request into filter response
merge_request: 40376
author:
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment