Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d7984501
Commit
d7984501
authored
Mar 31, 2020
by
Eugenia Grieff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Default board_search_optimization feature flag
- Default board_search_optimization feature flag to on
parent
c5e82147
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
app/controllers/boards/issues_controller.rb
app/controllers/boards/issues_controller.rb
+1
-1
app/services/boards/issues/list_service.rb
app/services/boards/issues/list_service.rb
+1
-1
changelogs/unreleased/35947-board-issues-search-optmization-2.yml
...gs/unreleased/35947-board-issues-search-optmization-2.yml
+5
-0
No files found.
app/controllers/boards/issues_controller.rb
View file @
d7984501
...
...
@@ -21,7 +21,7 @@ module Boards
before_action
:validate_id_list
,
only:
[
:bulk_move
]
before_action
:can_move_issues?
,
only:
[
:bulk_move
]
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
def
index
...
...
app/services/boards/issues/list_service.rb
View file @
d7984501
...
...
@@ -133,7 +133,7 @@ module Boards
def
can_attempt_search_optimization?
params
[
:search
].
present?
&&
Feature
.
enabled?
(
:board_search_optimization
,
board_group
,
default_enabled:
fals
e
)
Feature
.
enabled?
(
:board_search_optimization
,
board_group
,
default_enabled:
tru
e
)
end
end
end
...
...
changelogs/unreleased/35947-board-issues-search-optmization-2.yml
0 → 100644
View file @
d7984501
---
title
:
Use CTE optimization for searching board issues
merge_request
:
28430
author
:
type
:
fixed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment