X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/46efb1e7f49d08095a6a49a4c6aff045c5eb6f16..75967562d779337c0920841a0a66d130b4ba51a9:/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 447f416aa2..80f3ff117a 100644 --- a/apps/workbench/app/controllers/search_controller.rb +++ b/apps/workbench/app/controllers/search_controller.rb @@ -1,4 +1,10 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + class SearchController < ApplicationController + skip_before_action :ensure_arvados_api_exists + def find_objects_for_index search_what = Group if params[:project_uuid] @@ -15,6 +21,9 @@ class SearchController < ApplicationController end @objects = search_what.contents(limit: @limit, offset: @offset, + recursive: true, + count: 'none', + last_object_class: params["last_object_class"], filters: @filters) super end @@ -22,6 +31,8 @@ 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], + recursive: true, + count: 'none', filters: @filters.to_json) end end