gitlab-org--gitlab-foss/app/services/search
Jan Provaznik d2f1d585e1 Skip projects filter on merge requests search
When searching for merge requests, an additional subquery
is added which by default filters only merge requests which belong
to source or target project user has permission for.

This filter is not needed because more restrictive filter
which checks if user has permission for target project
is used in the query.

So unless a custom projects filter is used by user, it's possible
to skip the default projects filter and speed up the final query.

Related to #40540
2017-12-21 15:43:14 +01:00
..
global_service.rb Skip projects filter on merge requests search 2017-12-21 15:43:14 +01:00
group_service.rb Skip projects filter on merge requests search 2017-12-21 15:43:14 +01:00
project_service.rb
snippet_service.rb Merge branch 'snippets-finder-visibility' into 'security' 2017-05-10 16:48:18 +02:00