Bug 22470: Missing the table name on misc/migration_tools/switch_marc21_series_info.pl
authorDavid Roberts <david@koha-ptfs.co.uk>
Sat, 9 May 2020 16:07:03 +0000 (16:07 +0000)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Fri, 3 Jul 2020 06:01:23 +0000 (08:01 +0200)
commit3c6bd758b8b812afc0c43c4907d82f6d4fae9aac
tree711863bfba41cac664e4c24703ddff35a1088adc
parent2033a297cb49f06ef5cc262854307edea99e71ab
Bug 22470: Missing the table name on misc/migration_tools/switch_marc21_series_info.pl

This patch adds the table name to the SQL update statements.

To test:

1) Apply the patch
2) Run the script. Check that there are no errors, and that the script
behaves as expected.

Signed-off-by: Andreas Roussos <a.roussos@dataly.gr>
Created a test record with values in field 440. Applied the patch, ran the
script with the -c -f flags and observed that the values were moved to field
490. Also, the relevant Koha to MARC mappings were changed accordingly.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 051b0b8d2fb3dc3593147e5ac80bc394dcf48e58)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 0ee5a38798a170e2e996ee330b3f2101a9ae59be)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
(cherry picked from commit bcf40fe9721eec418bf415334aeec50a67d64914)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
misc/migration_tools/switch_marc21_series_info.pl