Bugzilla – Attachment 175410 Details for
Bug 38690
NormalizeISBN assumes ISBN-10 format and discards ISBN-13 format
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38690 - NormalizeISBN assumes ISBN-10 format and discards ISBN-13 format
0001-Bug-38690-NormalizeISBN-assumes-ISBN-10-format-and-d.patch (text/plain), 878 bytes, created by
Olli-Antti Kivilahti
on 2024-12-12 16:01:28 UTC
(
hide
)
Description:
Bug 38690 - NormalizeISBN assumes ISBN-10 format and discards ISBN-13 format
Filename:
MIME Type:
Creator:
Olli-Antti Kivilahti
Created:
2024-12-12 16:01:28 UTC
Size:
878 bytes
patch
obsolete
>From bee1df61fd22024868fc0ca66edcc62f3987a039 Mon Sep 17 00:00:00 2001 >From: Olli-Antti Kivilahti <olli-antti.kivilahti@hypernova.fi> >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 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38690
: 175410