From 86617ba7cd54cbeb7f2241468cd3e10f20d2bc27 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 --- 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.39.5