diff options
-rw-r--r-- | app/finders/issuable_finder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/issuable_finder.rb b/app/finders/issuable_finder.rb index 7bf1875912d..b73a3fa6e01 100644 --- a/app/finders/issuable_finder.rb +++ b/app/finders/issuable_finder.rb @@ -295,7 +295,7 @@ class IssuableFinder def use_cte_for_search? strong_memoize(:use_cte_for_search) do - attempt_group_search_optimizations? && + attempt_group_search_optimizations? && !use_subquery_for_search? && Feature.enabled?(:use_cte_for_group_issues_search, default_enabled: true) end |