Method: Gitlab::SearchResults#default_project_filter
- Defined in:
- lib/gitlab/search_results.rb
#default_project_filter ⇒ Object (readonly)
Whether a custom filter is used to restrict scope of projects. If the default filter (which lists all projects user has access to) is used, we can skip it when filtering merge requests and optimize the query
20 21 22 |
# File 'lib/gitlab/search_results.rb', line 20 def default_project_filter @default_project_filter end |