Commit 515825d0 authored by Jan Provaznik's avatar Jan Provaznik

Merge branch '35947-board-issues-search-optmization-2' into 'master'

Default board_search_optimization feature flag

Closes #35947

See merge request gitlab-org/gitlab!28430
parents bbcee7e8 d7984501
...@@ -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