11789: Merge branch 'master' into 11789-arvput-exclude-flag
[arvados.git] / apps / workbench / app / views / projects / _show_other_objects.html.erb
index 308034ed5429559fdab0bc73b0745ca4e5c23e45..f75cf98fec612fe12d153f04108f55f9e00a4bf3 100644 (file)
@@ -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) %>