summaryrefslogtreecommitdiff
path: root/app/controllers/concerns/issuable_collections.rb
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2018-06-05 17:02:04 +0100
committerSean McGivern <sean@gitlab.com>2018-06-06 12:29:45 +0100
commit57e6a98ce41363150d24b96ee53c748189b936b4 (patch)
tree1a2f0681c499e39a43a1882b5f44a96dbe4dee98 /app/controllers/concerns/issuable_collections.rb
parent17e30a3212df7ed2f6d57d64371ce594a66439ca (diff)
downloadgitlab-ce-57e6a98ce41363150d24b96ee53c748189b936b4.tar.gz
Simplify issuable finder queries
We had `item_project_ids` to help make slow queries on the dashboard faster, but this isn't necessary any more - the queries are plenty fast, and we forbid searching the dashboard without filters.
Diffstat (limited to 'app/controllers/concerns/issuable_collections.rb')
-rw-r--r--app/controllers/concerns/issuable_collections.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/controllers/concerns/issuable_collections.rb b/app/controllers/concerns/issuable_collections.rb
index ca1b80a36a0..98a8939a4d0 100644
--- a/app/controllers/concerns/issuable_collections.rb
+++ b/app/controllers/concerns/issuable_collections.rb
@@ -95,12 +95,6 @@ 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
end
@filter_params.permit(finder_type.valid_params)