diff --git a/C4/Koha.pm b/C4/Koha.pm index 89bb518ce1..ab9131a9fb 100644 --- a/C4/Koha.pm +++ b/C4/Koha.pm @@ -1242,6 +1242,9 @@ sub GetNormalizedISBN { my ($isbn,$record,$marcflavour) = @_; my @fields; if ($isbn) { + # Koha attempts to store multiple ISBNs in biblioitems.isbn, separated by " | " + # anything after " | " should be removed, along with the delimiter + $isbn =~ s/(.*)( \| )(.*)/$1/; return _isbn_cleanup($isbn); } return undef unless $record;