From 1fe6f0e4f966f002ec92080862a5e3b50c1cb578 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 Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart (cherry picked from commit 86617ba7cd54cbeb7f2241468cd3e10f20d2bc27) Signed-off-by: Fridolin Somers (cherry picked from commit c4e45d056e097513ed0c8e90a0f212519f4bd4aa) Signed-off-by: Andrew Fuerste-Henry --- C4/XISBN.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/C4/XISBN.pm b/C4/XISBN.pm index 008bb9266f..65ef2878db 100644 --- a/C4/XISBN.pm +++ b/C4/XISBN.pm @@ -105,7 +105,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.39.5