Bug 26364: Don't skip records that match the isbn we passed

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Nick Clemens 2020-09-09 13:24:20 +00:00 committed by Jonathan Druart
parent f255be3e51
commit 86617ba7cd
1 changed files with 0 additions and 1 deletions

View File

@ -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 ) {