Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2018-06-07 23:11:45 +0300
committerGrzegorz Bizon <grzegorz@gitlab.com>2018-06-07 23:11:45 +0300
commitce57dc70d87102ed6f920b5c785917889074fd21 (patch)
tree227fe424a54841fd0e91a3c732476b272a7cf5ed /app/controllers
parent6e614bd5e03e55a6b64a89b1cdbf2973bdd6ca84 (diff)
parentc03386c3914feca56802e6f99bbd0fd08d269472 (diff)
Merge branch '46648-timeout-searching-group-issues' into 'master'
Resolve "Timeout searching group issues" Closes #46648 See merge request gitlab-org/gitlab-ce!19429
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/concerns/issuable_collections.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/controllers/concerns/issuable_collections.rb b/app/controllers/concerns/issuable_collections.rb
index ca1b80a36a0..2ef2ee76855 100644
--- a/app/controllers/concerns/issuable_collections.rb
+++ b/app/controllers/concerns/issuable_collections.rb
@@ -95,12 +95,7 @@ module IssuableCollections
elsif @group
@filter_params[:group_id] = @group.id
@filter_params[:include_subgroups] = true
- else
- # TODO: this filter ignore issues/mr created in public or
- # internal repos where you are not a member. Enable this filter
- # or improve current implementation to filter only issues you
- # created or assigned or mentioned
- # @filter_params[:authorized_only] = true
+ @filter_params[:use_cte_for_search] = true
end
@filter_params.permit(finder_type.valid_params)