Merge branch 'master' into 10645-cr-mounts-display
[arvados.git] / apps / workbench / app / controllers / search_controller.rb
index 447f416aa25e438ab8fd5cdba3cf0d7d9827ebb7..2511ab08188fbb4aa2e17d250b1feecafff03bd9 100644 (file)
@@ -15,6 +15,8 @@ class SearchController < ApplicationController
     end
     @objects = search_what.contents(limit: @limit,
                                     offset: @offset,
+                                    count: 'none',
+                                    last_object_class: params["last_object_class"],
                                     filters: @filters)
     super
   end
@@ -22,6 +24,7 @@ class SearchController < ApplicationController
   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