diff options
author | Nick Thomas <nick@gitlab.com> | 2019-06-12 15:20:33 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-06-13 13:07:55 +0300 |
commit | 06440b12d839c34ab4bf1dffdd0d4f5277901f8a (patch) | |
tree | 2ba7fb47f86b4bee02c0b859794fb3118ed35ce0 /app/services/search_service.rb | |
parent | 182104422ba9752fd3a7117d6189815ba0cdbfbb (diff) |
Revert "Avoid loading objects from DB in ES results"
This reverts commit d9cb907c3e987363065136bafb2156e86bc5de26.
Diffstat (limited to 'app/services/search_service.rb')
-rw-r--r-- | app/services/search_service.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/services/search_service.rb b/app/services/search_service.rb index 302510341ac..e0cbfac2420 100644 --- a/app/services/search_service.rb +++ b/app/services/search_service.rb @@ -52,10 +52,6 @@ class SearchService @search_objects ||= search_results.objects(scope, params[:page]) end - def display_options - @display_options ||= search_results.display_options(scope) - end - private def search_service |