3140: use correct id for scroller
[arvados.git] / apps / workbench / app / views / projects / _show_subprojects.html.erb
index cd9c3e613b8e9f8cb004d53d117c1d42855fda89..aee93709b70f00d7a504c9cb59560ac373a41d34 100644 (file)
@@ -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'} %>