From b4cfe0019aceb11fb87a8f648e4a1bb657d84409 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 25 Oct 2023 10:01:34 -0300 Subject: [PATCH] Bug 31846: DBRev 23.06.00.050 Signed-off-by: Tomas Cohen Arazi --- Koha.pm | 2 +- .../230600050.pl} | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) rename installer/data/mysql/{atomicupdate/bug-31846-serials-search-results-limit.pl => db_revs/230600050.pl} (69%) diff --git a/Koha.pm b/Koha.pm index e7a5443646..21a91be022 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.06.00.049"; +$VERSION = "23.06.00.050"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug-31846-serials-search-results-limit.pl b/installer/data/mysql/db_revs/230600050.pl similarity index 69% rename from installer/data/mysql/atomicupdate/bug-31846-serials-search-results-limit.pl rename to installer/data/mysql/db_revs/230600050.pl index 30a8b2ef26..b5f1ea5c25 100755 --- a/installer/data/mysql/atomicupdate/bug-31846-serials-search-results-limit.pl +++ b/installer/data/mysql/db_revs/230600050.pl @@ -2,12 +2,11 @@ use Modern::Perl; return { bug_number => "31846", - description => "Add SerialsSearchResultsLimit syspref", + description => "Allow setting serials search results limit", up => sub { my ($args) = @_; my ( $dbh, $out ) = @$args{qw(dbh out)}; - # Do you stuffs here $dbh->do( q{ INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) @@ -15,7 +14,6 @@ return { } ); - # Print useful stuff here - say $out "SerialsSearchResultsLimit syspref added"; + say $out "Added new system preference 'SerialsSearchResultsLimit'"; }, }; -- 2.39.5