X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/76588ec068a21183977401d5c403e2fe57cd61fd..0eb72b526bf8bbb011551ecf019f604e17a534f1:/apps/workbench/app/controllers/search_controller.rb diff --git a/apps/workbench/app/controllers/search_controller.rb b/apps/workbench/app/controllers/search_controller.rb index 9e2ff1b00b..40e484ea06 100644 --- a/apps/workbench/app/controllers/search_controller.rb +++ b/apps/workbench/app/controllers/search_controller.rb @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + class SearchController < ApplicationController def find_objects_for_index search_what = Group @@ -15,14 +19,18 @@ class SearchController < ApplicationController end @objects = search_what.contents(limit: @limit, offset: @offset, - filters: @filters, - include_linked: true) + recursive: 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], + recursive: true, + count: 'none', filters: @filters.to_json) end end