diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-20 09:08:06 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-20 09:08:06 +0300 |
commit | 9bded6fb2268204757c35540fadef8e1b6351249 (patch) | |
tree | 4aed0a1c3deff8a073432dd40bbb3fe3b12bed83 /lib/gitlab/project_search_results.rb | |
parent | 25f414893f8f1dde029f60e781d195e426e514a1 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/project_search_results.rb')
-rw-r--r-- | lib/gitlab/project_search_results.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/project_search_results.rb b/lib/gitlab/project_search_results.rb index fbdfe166645..41844a0fb36 100644 --- a/lib/gitlab/project_search_results.rb +++ b/lib/gitlab/project_search_results.rb @@ -11,7 +11,7 @@ module Gitlab @query = query end - def objects(scope, page: nil, per_page: DEFAULT_PER_PAGE) + def objects(scope, page: nil, per_page: DEFAULT_PER_PAGE, preload_method: nil) case scope when 'notes' notes.page(page).per(per_page) |