From https://bugs.launchpad.net/evergreen/+bug/528424
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15661
dcc99617-32d9-48b4-a31d-
7c20da2025e4
if ($holdings) {
+ $req->delete_field( $_ ) for ($req->field('852')); # remove any legacy 852s
my $cn_list = $bib->call_numbers;
if ($cn_list && @$cn_list) {
MARC::Field->new( '001', $record->id )
);
}
+ $marc->delete_field($_) for ($marc->field('852')); # remove any legacy 852s
foreach my $cn (keys %$bib_holdings) {
foreach my $cp (@{$bib_holdings->{$cn}->{'copies'}}) {
$marc->insert_fields_ordered(