Merge branch '11509-keep-web-cors-range'
[arvados.git] / apps / workbench / app / controllers / search_controller.rb
index 9e2ff1b00b7e38c31129a3694833023aaebbc825..2511ab08188fbb4aa2e17d250b1feecafff03bd9 100644 (file)
@@ -15,14 +15,16 @@ class SearchController < ApplicationController
     end
     @objects = search_what.contents(limit: @limit,
                                     offset: @offset,
-                                    filters: @filters,
-                                    include_linked: true)
+                                    count: 'none',
+                                    last_object_class: params["last_object_class"],
+                                    filters: @filters)
     super
   end
 
   def next_page_href with_params={}
     super with_params.merge(last_object_class: @objects.last.class.to_s,
                             project_uuid: params[:project_uuid],
+                            count: 'none',
                             filters: @filters.to_json)
   end
 end