summaryrefslogtreecommitdiff
path: root/spec/controllers/projects/commits_controller_spec.rb
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2017-12-22 16:44:53 +0100
committerJan Provaznik <jprovaznik@gitlab.com>2018-01-02 12:07:26 +0100
commit017c1297cdcfbb7431dbbc0445e29d1c95d934c0 (patch)
treee3cb16e2473cc744fd75907a53c924d23e0a8bca /spec/controllers/projects/commits_controller_spec.rb
parent05292ba958c20ac560cdc43e90d954cb201eaf62 (diff)
downloadgitlab-ce-017c1297cdcfbb7431dbbc0445e29d1c95d934c0.tar.gz
Skip projects filter on issues searchjprovazn-search-issues
When searching for issues, an additional subquery is added which filters only issues in a project. If global context is used (no project is specified) this query filters all projects user has access to. In that case we can skip this filter because filtering only projects user has access to is added anyway. The filter is used only if a custom project context is specified Related to #40540
Diffstat (limited to 'spec/controllers/projects/commits_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions