https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42284 --- Comment #13 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 198793 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198793&action=edit Bug 42284: Tidy all script tags - addbiblio/authorities In order to tidy all the script tags of the .tt files we isolate the interpolation of Template::Toolkit variables in a separate script tag. This patch focuses on the edition of biblio and authority records. We rethink how (the ugly) BIG_LOOP works: * push all mandatory and important fields in a JS array * use objects/hashes instead of array to store/access tag, id, index and tab (vs arr[0], arr[1], ...) For testing you need to focus on the mandatory and important fields and subfields. Confirm that there is no change in behaviour introduced by this patch. Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> -- You are receiving this mail because: You are watching all bug changes.