From 14dd92c861cc0e1a4e20a5aeada3d12fcb139f4f Mon Sep 17 00:00:00 2001 From: Phil Lee Date: Wed, 3 May 2023 11:36:03 +0100 Subject: [PATCH] order errors correctly by cell in report --- app/views/bulk_upload_sales_results/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/bulk_upload_sales_results/show.html.erb b/app/views/bulk_upload_sales_results/show.html.erb index 6361c17ed..ef085e0bf 100644 --- a/app/views/bulk_upload_sales_results/show.html.erb +++ b/app/views/bulk_upload_sales_results/show.html.erb @@ -13,7 +13,7 @@
- <% @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 %>