Bug 38909

Summary: Add method for converting ISBN13 to ISBN10 within a slip
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: NoticesAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: lucas, nick
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Andrew Fuerste-Henry 2025-01-16 15:28:52 UTC
Working with custom slips as introduced in Bug 32986, we want to put cover images for checked out items into the slip. Most cover providers allow retrieval by ISBN, but differ in whether they want ISBN-10 or ISBN-13. It'd be great to have a method to do this within a slip. It could be something within the slip generation code or within the biblioitems object. Either way, it'd be easier than putting a bunch of JS or TT into the slip.
Comment 1 Lucas Gass (lukeg) 2025-01-16 15:43:28 UTC
Could we have a /Koha/Template/Plugin/ method to do this? Should probably do conversions both ways, ISBN13 to ISBN10 and ISBN10 to ISBN13. 

Note: Don't forget about 979* ISBNs.