From 1c98786dad434dd0760288f9f020efbbb8783380 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Thu, 27 Apr 2023 09:32:04 +0100 Subject: [PATCH] feat: remove redundant derivation that is overrided by other derivation --- app/services/bulk_upload/sales/year2022/row_parser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/bulk_upload/sales/year2022/row_parser.rb b/app/services/bulk_upload/sales/year2022/row_parser.rb index 87fedcc2b..a1f939645 100644 --- a/app/services/bulk_upload/sales/year2022/row_parser.rb +++ b/app/services/bulk_upload/sales/year2022/row_parser.rb @@ -527,7 +527,7 @@ private attributes["ecstat6"] = field_29 attributes["ethnic_group"] = ethnic_group_from_ethnic - attributes["ethnic"] = buyer_not_interviewed? ? 17 : field_30 + attributes["ethnic"] = field_30 attributes["national"] = buyer_not_interviewed? ? 13 : field_31 attributes["income1nk"] = buyer_not_interviewed? || field_32.blank? ? 1 : 0 attributes["income1"] = field_32