Commit 779fbe05 authored by Arturo Herrero's avatar Arturo Herrero

Merge branch '259719-rollout-optimized-labels-ff' into 'master'

Enable optimized_issuable_label_filter FF

See merge request gitlab-org/gitlab!52495
parents d163a656 f07f01b4
......@@ -13,7 +13,7 @@ module OptimizedIssuableLabelFilter
def by_label(items)
return items unless params.labels?
return super if Feature.disabled?(:optimized_issuable_label_filter)
return super if Feature.disabled?(:optimized_issuable_label_filter, default_enabled: :yaml)
target_model = items.model
......@@ -29,7 +29,7 @@ module OptimizedIssuableLabelFilter
# Taken from IssuableFinder
def count_by_state
return super if root_namespace.nil?
return super if Feature.disabled?(:optimized_issuable_label_filter)
return super if Feature.disabled?(:optimized_issuable_label_filter, default_enabled: :yaml)
count_params = params.merge(state: nil, sort: nil, force_cte: true)
finder = self.class.new(current_user, count_params)
......
---
title: Improve the performance of merge request and issue search by label(s)
merge_request: 52495
author:
type: performance
......@@ -5,4 +5,4 @@ rollout_issue_url:
milestone: '13.4'
type: development
group: group::analytics
default_enabled: false
default_enabled: true
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