From 07d52309c22da89430db344da0a387ce832de2ed Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Wed, 8 May 2024 17:53:44 +0000 Subject: [PATCH] Bug 19768: DBRev 23.12.00.054 Signed-off-by: Katrin Fischer --- Koha.pm | 2 +- .../{atomicupdate/bug_19768.pl => db_revs/231200054.pl} | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename installer/data/mysql/{atomicupdate/bug_19768.pl => db_revs/231200054.pl} (65%) diff --git a/Koha.pm b/Koha.pm index 8e038e8208..f72cd4e6e5 100644 --- a/Koha.pm +++ b/Koha.pm @@ -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 = "23.12.00.053"; +$VERSION = "23.12.00.054"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_19768.pl b/installer/data/mysql/db_revs/231200054.pl similarity index 65% rename from installer/data/mysql/atomicupdate/bug_19768.pl rename to installer/data/mysql/db_revs/231200054.pl index 0ea2a3d5a0..a7624a749c 100755 --- a/installer/data/mysql/atomicupdate/bug_19768.pl +++ b/installer/data/mysql/db_revs/231200054.pl @@ -3,18 +3,18 @@ use Koha::Installer::Output qw(say_warning say_failure say_success say_info); return { bug_number => "19768", - description => "Add 'Title notes' tab to OpacSerialDefaultTab preference", + description => "Add 'Title notes' tab to OpacSerialDefaultTab system preference", up => sub { my ($args) = @_; my ( $dbh, $out ) = @$args{qw(dbh out)}; # Do you stuffs here $dbh->do( - q{ UPDATE systempreferences SET value = 'holdings|serialcollection|subscriptions|titlenotes', options = 'holdings|serialcollection|subscriptions|titlenotes' WHERE variable = 'opacSerialDefaultTab' } + q{ UPDATE systempreferences SET options = 'holdings|serialcollection|subscriptions|titlenotes' WHERE variable = 'opacSerialDefaultTab' } ); # Print useful stuff here - say $out "Added 'Title notes' option to opacSerialDefaultTab preference"; + say $out "Added 'Title notes' option to opacSerialDefaultTab system preference"; }, }; -- 2.39.5