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>
(cherry picked from commit 86617ba7cd)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Nick Clemens 2020-09-09 13:24:20 +00:00 committed by Fridolin Somers
parent c6ce4f6fc8
commit c4e45d056e
1 changed files with 0 additions and 1 deletions

View File

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