Bug 30850: dbrev to inform existing users of the mapping change
This patch adds a message in a dbrev to inform users of existing installations that they might want to add a mapping from 110$a to biblio.author Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
ea3a5b37c1
commit
e0f1f666a8
1 changed files with 17 additions and 0 deletions
17
installer/data/mysql/atomicupdate/bug_30850.pl
Executable file
17
installer/data/mysql/atomicupdate/bug_30850.pl
Executable file
|
@ -0,0 +1,17 @@
|
|||
use Modern::Perl;
|
||||
use Encode qw( encode_utf8 );
|
||||
|
||||
return {
|
||||
bug_number => 30850,
|
||||
description => 'Message about mappings changes for 110$a',
|
||||
up => sub {
|
||||
my ($args) = @_;
|
||||
my ($dbh, $out) = @$args{qw(dbh out)};
|
||||
|
||||
say $out encode_utf8 '110$a was added as a default mapping for biblio.author in MARC21.';
|
||||
say $out encode_utf8 'This will only change the mapping on new installations.';
|
||||
say $out encode_utf8 'If you wish to change the mappings on your existing installation,';
|
||||
say $out encode_utf8 'go to Administration > Koha to MARC mapping and add 110$a to biblio.author';
|
||||
say $out encode_utf8 'and then run batchRebuilBiblioTables.pl';
|
||||
},
|
||||
}
|
Loading…
Reference in a new issue