Merge branch 'master' into 3140-project-content-tabs
[arvados.git] / apps / workbench / app / views / projects / _show_other_objects.html.erb
index 7a87413be56d687abf8baf11876ae75a32564310..308034ed5429559fdab0bc73b0745ca4e5c23e45 100644 (file)
@@ -1 +1,8 @@
-<%= render partial: 'show_tab_contents', locals: {project: @object, objects_and_names: @objects_and_names, data_kind: []} %>
+<%
+  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
+%>
+
+<%= render partial: 'show_tab_contents', locals: {project: @object, objects_and_names: objects_and_names, filters: filters, page_offset: page_offset, tab_name: 'Other_objects'} %>