Bug 5684 : Remove all items fields from a Z39.50 record imported for acquisition.
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit f6486e6390)
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
parent
f826e385b1
commit
6b05210f6b
|
|
@ -132,6 +132,11 @@ if ( $ordernumber eq '' and defined $params->{'breedingid'}){
|
|||
my ($marcrecord, $encoding) = MARCfindbreeding($params->{'breedingid'});
|
||||
die("Could not find the selected record in the reservoir, bailing") unless $marcrecord;
|
||||
|
||||
# Remove all the items (952) from the imported record
|
||||
foreach my $item ($marcrecord->field('952')) {
|
||||
$marcrecord->delete_field($item);
|
||||
}
|
||||
|
||||
my $duplicatetitle;
|
||||
#look for duplicates
|
||||
($biblionumber,$duplicatetitle) = FindDuplicate($marcrecord);
|
||||
|
|
|
|||
Loading…
Reference in New Issue