From dfa255e1a44030dffa24a6cfcc1842e18ce5a99c Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 9 Sep 2020 13:24:20 +0000 Subject: [PATCH] Bug 26364: Don't skip records that match the isbn we passed Signed-off-by: David Nind --- C4/XISBN.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/C4/XISBN.pm b/C4/XISBN.pm index de9dc100fe..6f7c3bf4bc 100644 --- a/C4/XISBN.pm +++ b/C4/XISBN.pm @@ -107,7 +107,6 @@ sub get_xisbns { $unique_xisbns->{ $response_data->{content} }++; my $xbiblio= _get_biblio_from_xisbn($response_data->{content}); next unless $xbiblio; - next if $xbiblio->{normalized_isbn} && $xbiblio->{normalized_isbn} eq $isbn; push @xisbns, $xbiblio if $xbiblio && $xbiblio->{biblionumber} ne $biblionumber; } if ( wantarray ) { -- 2.11.0