Merge branch '3504-clients-compatible-with-3036' refs #3504
[arvados.git] / apps / workbench / app / views / collections / _show_files.html.erb
index ea55577e7077a28d464975dc49b60a8d50b54900..d888b2e859b564c2cedba38ad60e0801d567e718 100644 (file)
@@ -18,7 +18,7 @@
       <ul class="collection_files">
     <% else %>
       <% link_params = {controller: 'collections', action: 'show_file',
-                        uuid: @object.uuid, file: file_path, size: size} %>
+                        uuid: @object.portable_data_hash, file: file_path, size: size} %>
        <div class="collection_files_row">
         <div class="collection_files_buttons pull-right">
           <%= raw(human_readable_bytes_html(size)) %>
@@ -28,7 +28,7 @@
                 :friendly_type => "File",
                 :friendly_name => "#{@object.uuid}/#{file_path}",
                 :href => url_for(controller: 'collections', action: 'show_file',
-                                 uuid: @object.uuid, file: file_path),
+                                 uuid: @object.portable_data_hash, file: file_path),
                 :title => "Include #{file_path} in your selections",
               } %>
           <% end %>