From aaea95c7f7eab1256d2ae3be8ce547adf69b12a2 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 9 Sep 2020 13:44:45 +0000 Subject: [PATCH] Bug 26364: Don't discard the passed isbn I don't know, if we get rid fo this check we can now check the db for the same isbn we passed This may be useful as we may want to see the biblio with the same isbn as long as number is different? This will make tests fail Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart (cherry picked from commit feb7f5f6dd89f58f3b027898705fb0fa57a051ab) Signed-off-by: Fridolin Somers --- C4/XISBN.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/C4/XISBN.pm b/C4/XISBN.pm index de9dc100fe..0a71eb5e45 100644 --- a/C4/XISBN.pm +++ b/C4/XISBN.pm @@ -101,7 +101,6 @@ sub get_xisbns { # loop through each ISBN and scope to the local collection for my $response_data( @{ $response->{ isbn } } ) { - next if $response_data->{'content'} eq $isbn; next if $isbn eq $response_data; next if $unique_xisbns->{ $response_data->{content} }; $unique_xisbns->{ $response_data->{content} }++; -- 2.39.5