From bee1df61fd22024868fc0ca66edcc62f3987a039 Mon Sep 17 00:00:00 2001 From: Olli-Antti Kivilahti Date: Thu, 12 Dec 2024 17:51:24 +0200 Subject: [PATCH] Bug 38690 - NormalizeISBN assumes ISBN-10 format and discards ISBN-13 format While working to understand the 'FRBRizeEditions'-feature, I discovered that the feature doesn't work with ISBN-13 format, and silently discards those. Only ISBN-10 works due to this hard-coded constraint. --- lib/C4/Koha.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/C4/Koha.pm b/lib/C4/Koha.pm index 1c3e2ce..64b9b66 100644 --- a/lib/C4/Koha.pm +++ b/lib/C4/Koha.pm @@ -698,7 +698,6 @@ sub _isbn_cleanup { return NormalizeISBN( { isbn => $isbn, - format => 'ISBN-10', strip_hyphens => 1, } ) if $isbn; -- 2.34.1