filesaver.js was added to Koha in 2015, with a version from 2013. We can upgrade to the most recent release, 2.0.4, from 2020.
Created attachment 160242 [details] [review] Bug 35640: Upgrade FileSaver JS library to v2.0.4 This patch upgrades filesaver.js from an unknown version added in 2015 to v2.0.4 which was released in 2020. The patch also moves the asset to its own directory for consistency's sake. To test, apply the patch and clear your browser cache if necessary. - Locate a bibliographic record in the staff interface and edit it. - Switch to the advanced editor. - Click the dropdown menu next to the "Save to catalog" button, and test both the "Save as MARC" and "Save as MARCXML" controls. - In both cases the record should be downloaded correctly.
Created attachment 160381 [details] [review] Bug 35640: Upgrade FileSaver JS library to v2.0.4 This patch upgrades filesaver.js from an unknown version added in 2015 to v2.0.4 which was released in 2020. The patch also moves the asset to its own directory for consistency's sake. To test, apply the patch and clear your browser cache if necessary. - Locate a bibliographic record in the staff interface and edit it. - Switch to the advanced editor. - Click the dropdown menu next to the "Save to catalog" button, and test both the "Save as MARC" and "Save as MARCXML" controls. - In both cases the record should be downloaded correctly. Signed-off-by: David Nind <david@davidnind.com>
Testing notes (using KTD): 1. Enable the EnableAdvancedCatalogingEditor system preference. 2. For the record I edited (262 - Programming Perl) I had to add an 003 value before I could save the record (edit the bibliographic framework for books, make the 003 field visible in the editor).
Created attachment 160933 [details] [review] Bug 35640: Upgrade FileSaver JS library to v2.0.4 This patch upgrades filesaver.js from an unknown version added in 2015 to v2.0.4 which was released in 2020. The patch also moves the asset to its own directory for consistency's sake. To test, apply the patch and clear your browser cache if necessary. - Locate a bibliographic record in the staff interface and edit it. - Switch to the advanced editor. - Click the dropdown menu next to the "Save to catalog" button, and test both the "Save as MARC" and "Save as MARCXML" controls. - In both cases the record should be downloaded correctly. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Pushed for 24.05! Well done everyone, thank you!
Not backported to 23.11.x
Module(?) change, nothing to add/edit in the Koha manual.