X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/964350f4132788e07a7ce1b159179a152e9cfcdc..18b51f2620505d4efbc9de322e24d5218a5ca19b:/apps/workbench/app/views/projects/_show_other_objects.html.erb diff --git a/apps/workbench/app/views/projects/_show_other_objects.html.erb b/apps/workbench/app/views/projects/_show_other_objects.html.erb index 308034ed54..f75cf98fec 100644 --- a/apps/workbench/app/views/projects/_show_other_objects.html.erb +++ b/apps/workbench/app/views/projects/_show_other_objects.html.erb @@ -1,8 +1,8 @@ -<% - filters = [['uuid', 'is_a', ["arvados#human","arvados#specimen","arvados#trait"]]] - @objects = @object.contents({limit: 50, include_linked: true, :filters => filters}) - objects_and_names = get_objects_and_names @objects - page_offset = next_page_offset @objects -%> +<%# Copyright (C) The Arvados Authors. All rights reserved. -<%= render partial: 'show_tab_contents', locals: {project: @object, objects_and_names: objects_and_names, filters: filters, page_offset: page_offset, tab_name: 'Other_objects'} %> +SPDX-License-Identifier: AGPL-3.0 %> + +<%= render_pane 'tab_contents', to_string: true, locals: { + filters: [['uuid', 'is_a', ["arvados#human", "arvados#specimen", "arvados#trait"]]], + sortable_columns: { 'name' => 'humans.uuid, specimens.uuid, traits.name' } + }.merge(local_assigns) %>