8 Dec
2022
8 Dec
'22
9:45 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32327 --- Comment #1 from Lucas Gass <lucas@bywatersolutions.com> --- This jQuery ( intranetuserjs ) can be helpful to trim the ISBN field down to just a single valid ISBN: if ( $('#cat_z3950_search').length ) { let splitISBNfields = $('#isbn').val().split(/(\s+)/); let found; splitISBNfields.forEach( function(item) { if ( item.match(/^(?=(?:\D*\d){10}(?:(?:\D*\d){3})?$)[\d-]+$/) && !found ) { $('#isbn').val(item); found = 1; } }); $('#title').val(''); $('#author').val(''); } -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.