Read about our upcoming Code of Conduct on this issue

Commit 80f3e498 authored by Sean McGivern's avatar Sean McGivern
Browse files

Put issues group search CTE behind a (default on) flag

We don't think this is needed any more - see, and for removing the flag.
parent 7c83cbef138e
......@@ -363,6 +363,7 @@ def by_project(items)
def use_cte_for_search?
return false unless search
return false unless Gitlab::Database.postgresql?
return false unless Feature.enabled?(:use_cte_for_group_issues_search, default_enabled: true)
......@@ -226,6 +226,11 @@
context 'searching' do
# Remove as part of
before do
stub_feature_flags(use_cte_for_group_issues_search: false)
it 'works with popularity sort' do
get :issues, id: group.to_param, search: 'foo', sort: 'popularity'
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