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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 15 Jun 2020 09:53:36 +0000 (11:53 +0200)
commit051b0b8d2fb3dc3593147e5ac80bc394dcf48e58
tree6fefbd4129b9b6155438f9ca63cddf076c0bbbcd
parent772205bab5c7d6720ca6d25244c04cdf7649a96f
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>
misc/migration_tools/switch_marc21_series_info.pl