X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/dc45eea849bb9371b778c7401bc522c82ee84021..0218232df5c6b4e62cced85e17a512dd6cfcae36:/apps/workbench/app/views/projects/_show_subprojects.html.erb diff --git a/apps/workbench/app/views/projects/_show_subprojects.html.erb b/apps/workbench/app/views/projects/_show_subprojects.html.erb index cd9c3e613b..aee93709b7 100644 --- a/apps/workbench/app/views/projects/_show_subprojects.html.erb +++ b/apps/workbench/app/views/projects/_show_subprojects.html.erb @@ -1 +1,8 @@ -<%= render partial: 'show_tab_contents', locals: {project: @object, objects_and_names: @objects_and_names, data_kind: ['arvados#group']} %> +<% + filters = [['uuid', 'is_a', "arvados#group"]] + @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, scroller: 'Subprojects'} %>