Merge branch '14087-federated-collection-by-pdh' refs #14087
[arvados.git] / apps / workbench / app / views / work_units / _show_status.html.erb
index c06e82a815b0cc49462576c77897b0df1676bb62..b726f3b6b1459b55bc54453ba3811eec464fa15d 100644 (file)
@@ -1,7 +1,12 @@
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
 <%
     container_uuid = if @object.is_a?(Container) then @object.uuid elsif @object.is_a?(ContainerRequest) then @object.container_uuid end
     if container_uuid
-      reqs = ContainerRequest.where(requesting_container_uuid: container_uuid).results
+      cols = ContainerRequest.columns.map(&:name) - %w(id updated_at mounts)
+      reqs = ContainerRequest.select(cols).where(requesting_container_uuid: container_uuid).results
       load_preloaded_objects(reqs)
 
       child_cs = reqs.map(&:requesting_container_uuid).uniq