Browse Source

order errors correctly by cell in report

pull/1603/head
Phil Lee 2 years ago
parent
commit
14dd92c861
  1. 2
      app/views/bulk_upload_sales_results/show.html.erb

2
app/views/bulk_upload_sales_results/show.html.erb

@ -13,7 +13,7 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-full">
<% @bulk_upload.bulk_upload_errors.group_by(&:row).each do |_row, errors_for_row| %>
<% @bulk_upload.bulk_upload_errors.order_by_cell.group_by(&:row).each do |_row, errors_for_row| %>
<%= render BulkUploadErrorRowComponent.new(bulk_upload_errors: errors_for_row) %>
<% end %>
</div>

Loading…
Cancel
Save