From aa9705cda707d2f5d82c123fbb9b0754829598ca Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Thu, 5 May 2022 12:50:41 +0100 Subject: [PATCH] Majorrepairs will never match --- app/services/imports/case_logs_import_service.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/services/imports/case_logs_import_service.rb b/app/services/imports/case_logs_import_service.rb index 8d3db10c8..305cb8a18 100644 --- a/app/services/imports/case_logs_import_service.rb +++ b/app/services/imports/case_logs_import_service.rb @@ -203,6 +203,8 @@ module Imports differences = [] attributes.each do |key, value| case_log_value = case_log.send(key.to_sym) + next if key == "majorrepairs" + if value != case_log_value differences.push("#{key} #{value.inspect} #{case_log_value.inspect}") end