From: Galen Charlton Date: Tue, 7 Aug 2012 18:42:42 +0000 (-0400) Subject: for logging of field-level merges, look for record ID in both 901 and 903 X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=commitdiff_plain;h=25b603a16438cb4ae6e4d25e2eb531a9e5899e77 for logging of field-level merges, look for record ID in both 901 and 903 Signed-off-by: Galen Charlton --- diff --git a/sql/base/base.sql b/sql/base/base.sql index 7909ecb..ca31802 100644 --- a/sql/base/base.sql +++ b/sql/base/base.sql @@ -1755,7 +1755,9 @@ if ($@) { } my $source_id = $source->subfield('901', 'c'); +$source_id = $source->subfield('903', 'a') unless $source_id; my $target_id = $target->subfield('901', 'c'); +$target_id = $target->subfield('903', 'a') unless $target_id; my %existing_fields; foreach my $tag (@$tags) {