Bug 37954: DBRev 23.11.10.002

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit be96ec063f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Lucas Gass 2024-11-18 23:15:46 +00:00 committed by Fridolin Somers
parent ac71426e33
commit 77207f400a
2 changed files with 4 additions and 5 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 = "23.11.10.001";
$VERSION = "23.11.10.002";
sub version {
return $VERSION;

View File

@ -1,5 +1,4 @@
use Modern::Perl;
use Koha::Installer::Output qw(say_warning say_failure say_success say_info);
return {
bug_number => "37954",
@ -14,7 +13,7 @@ return {
}
);
if ($existing_holdings_barcode_setting) {
say_info( $out, "Settings already exist" );
say $out "Settings already exist";
} else {
my ( $cannot_be_toggled, $is_hidden ) = $dbh->selectrow_array(
q{
@ -29,9 +28,9 @@ return {
('catalogue', 'detail', 'holdings_table', 'holdings_barcode', $cannot_be_toggled, $is_hidden )
}
);
say_success( $out, "Settings moved to holdings_barcode" );
say $out "Settings moved to holdings_barcode";
} else {
say_info( $out, "No settings for holdings_barcodes found" );
say $out "No settings for holdings_barcodes found";
}
}
$dbh->do(