From e8e40c861c6a4422d66e1d4f0465ff44508766a9 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 13 May 2024 08:33:50 +0000 Subject: [PATCH] Bug 35149: DBRev 23.11.05.007 Signed-off-by: Katrin Fischer (cherry picked from commit 2b3ad46f979d0ba2e5c0ea2e128597e9c8bf153e) Signed-off-by: Fridolin Somers --- Koha.pm | 2 +- .../231105007.pl} | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) rename installer/data/mysql/{atomicupdate/bug_35149-add-do-nothing-to-CircAutoPrintQuickSlip-syspref.pl => db_revs/231105007.pl} (53%) diff --git a/Koha.pm b/Koha.pm index 44d144bd91..e2426f0380 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.11.05.006"; +$VERSION = "23.11.05.007"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_35149-add-do-nothing-to-CircAutoPrintQuickSlip-syspref.pl b/installer/data/mysql/db_revs/231105007.pl similarity index 53% rename from installer/data/mysql/atomicupdate/bug_35149-add-do-nothing-to-CircAutoPrintQuickSlip-syspref.pl rename to installer/data/mysql/db_revs/231105007.pl index 6b31aad8eb..9b5badaecb 100755 --- a/installer/data/mysql/atomicupdate/bug_35149-add-do-nothing-to-CircAutoPrintQuickSlip-syspref.pl +++ b/installer/data/mysql/db_revs/231105007.pl @@ -8,7 +8,9 @@ return { my ( $dbh, $out ) = @$args{qw(dbh out)}; # Do you stuffs here - $dbh->do(q{UPDATE `systempreferences` SET `explanation` = 'Choose what should happen when an empty barcode field is submitted in circulation: Display a print quick slip window, Display a print slip window, Do nothing, or Clear the screen.' WHERE `variable` = 'CircAutoPrintQuickSlip'}); + $dbh->do( + q{UPDATE `systempreferences` SET `explanation` = 'Choose what should happen when an empty barcode field is submitted in circulation: Display a print quick slip window, Display a print slip window, Do nothing, or Clear the screen.' WHERE `variable` = 'CircAutoPrintQuickSlip'} + ); say $out "Updated system preference 'CircAutoPrintQuickSlip'"; },