Skip to content

Commit

Permalink
Correctly format file set id in data label attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotjordan authored and tamsin johnson committed Aug 31, 2023
1 parent c640b82 commit f7750ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/hyrax/file_sets/media_display/_default.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<p /><%= link_to t('hyrax.file_set.show.download'),
hyrax.download_path(file_set),
id: "file_download",
data: { label: file_set.id, work_id: @presenter.id, collection_ids: @presenter.member_of_collection_ids },
data: { label: file_set.id.to_s, work_id: @presenter.id, collection_ids: @presenter.member_of_collection_ids },
target: "_new" %>
<% end %>
</div>

0 comments on commit f7750ad

Please sign in to comment.