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
d0f02b5c
Commit
d0f02b5c
authored
Feb 06, 2019
by
Mario de la Ossa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable subquery for group issue search by default
parent
0ef68a58
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
app/finders/issuable_finder.rb
app/finders/issuable_finder.rb
+1
-1
changelogs/unreleased/57333-default_on_group_search_optimizations.yml
...nreleased/57333-default_on_group_search_optimizations.yml
+5
-0
No files found.
app/finders/issuable_finder.rb
View file @
d0f02b5c
...
@@ -305,7 +305,7 @@ class IssuableFinder
...
@@ -305,7 +305,7 @@ class IssuableFinder
def
use_subquery_for_search?
def
use_subquery_for_search?
strong_memoize
(
:use_subquery_for_search
)
do
strong_memoize
(
:use_subquery_for_search
)
do
attempt_group_search_optimizations?
&&
attempt_group_search_optimizations?
&&
Feature
.
enabled?
(
:use_subquery_for_group_issues_search
,
default_enabled:
fals
e
)
Feature
.
enabled?
(
:use_subquery_for_group_issues_search
,
default_enabled:
tru
e
)
end
end
end
end
...
...
changelogs/unreleased/57333-default_on_group_search_optimizations.yml
0 → 100644
View file @
d0f02b5c
---
title
:
Enable subquery for group issue search by default
merge_request
:
24978
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