From: Jason Stephenson Date: Tue, 9 Dec 2014 00:28:31 +0000 (-0500) Subject: Fix a mistake in NCIP::ILS:Evergreen->find_target_via_bibliographic_id X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ab4b455af4c06364d7fef7ee0f64c092d95f7f0f;p=working%2FNCIPServer.git Fix a mistake in NCIP::ILS:Evergreen->find_target_via_bibliographic_id Signed-off-by: Jason Stephenson --- 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);