From ab4b455af4c06364d7fef7ee0f64c092d95f7f0f Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Mon, 8 Dec 2014 19:28:31 -0500 Subject: [PATCH] Fix a mistake in NCIP::ILS:Evergreen->find_target_via_bibliographic_id Signed-off-by: Jason Stephenson --- lib/NCIP/ILS/Evergreen.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/NCIP/ILS/Evergreen.pm b/lib/NCIP/ILS/Evergreen.pm index 6bc9620..a184ee1 100644 --- a/lib/NCIP/ILS/Evergreen.pm +++ b/lib/NCIP/ILS/Evergreen.pm @@ -2704,9 +2704,9 @@ sub find_target_via_bibliographic_id { $loc = $self->retrieve_org_unit_by_shortname($locname); } } elsif ($idobj->{BibliographicRecordIdentifierCode}) { - $bibid = $idobj->{BibliographicRecordIdentifierCode} + $bibid = $idobj->{BibliographicRecordIdentifier}; } else { - $bibid = $idobj->{BibliographicItemIdentifierCode} + $bibid = $idobj->{BibliographicItemIdentifier}; } if ($bibid && $loc) { $item = $self->_call_number_search($bibid, $loc); -- 2.43.2