Bug 39171: DBRev 24.12.00.027

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Katrin Fischer 2025-04-22 06:45:45 +00:00
parent 833ad77a8f
commit 7ee729af4d
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
2 changed files with 4 additions and 3 deletions

View File

@ -29,7 +29,7 @@ use vars qw{ $VERSION };
# - #4 : the developer version. The 4th number is the database subversion.
# used by developers when the database changes. updatedatabase take care of the changes itself
# and is automatically called by Auth.pm when needed.
$VERSION = "24.12.00.026";
$VERSION = "24.12.00.027";
sub version {
return $VERSION;

View File

@ -1,8 +1,9 @@
use Modern::Perl;
use Koha::Installer::Output qw(say_warning say_success say_info);
return {
bug_number => "39171",
description => "Rename ElasticsearchMARCFormat syspref options",
description => "Rename ElasticsearchMARCFormat system preference options",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
@ -13,6 +14,6 @@ return {
$dbh->do(
q{ UPDATE systempreferences SET value = 'base64ISO2709' WHERE variable = 'ElasticsearchMARCFormat' AND value = 'ISO2709' }
);
say $out "Renamed options for 'ElasticsearchMARCFormat' system preference";
say_success( $out, "Renamed options for 'ElasticsearchMARCFormat' system preference" );
},
}