Commit d7984501 authored by Eugenia Grieff's avatar Eugenia Grieff

Default board_search_optimization feature flag

- Default board_search_optimization feature
flag to on
parent c5e82147
...@@ -21,7 +21,7 @@ module Boards ...@@ -21,7 +21,7 @@ module Boards
before_action :validate_id_list, only: [:bulk_move] before_action :validate_id_list, only: [:bulk_move]
before_action :can_move_issues?, only: [:bulk_move] before_action :can_move_issues?, only: [:bulk_move]
before_action do before_action do
push_frontend_feature_flag(:board_search_optimization, board.group) push_frontend_feature_flag(:board_search_optimization, board.group, default_enabled: true)
end end
def index def index
......
...@@ -133,7 +133,7 @@ module Boards ...@@ -133,7 +133,7 @@ module Boards
def can_attempt_search_optimization? def can_attempt_search_optimization?
params[:search].present? && params[:search].present? &&
Feature.enabled?(:board_search_optimization, board_group, default_enabled: false) Feature.enabled?(:board_search_optimization, board_group, default_enabled: true)
end end
end end
end end
......
---
title: Use CTE optimization for searching board issues
merge_request: 28430
author:
type: fixed
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