Bug 34481: DBRev 24.06.00.010

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Katrin Fischer 2024-06-27 10:10:58 +00:00
parent 52f94659c1
commit 2013ea70ec
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834
2 changed files with 7 additions and 4 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.06.00.009";
$VERSION = "24.06.00.010";
sub version {
return $VERSION;

View file

@ -1,4 +1,5 @@
use Modern::Perl;
use Koha::Installer::Output qw(say_warning say_failure say_success say_info);
return {
bug_number => "34481",
@ -7,11 +8,13 @@ return {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
$dbh->do(q{
$dbh->do(
q{
INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`)
VALUES ('IncludeSeeAlsoFromInSearches','0','','Include see-also-from references in searches.','YesNo')
});
}
);
say $out "Added new system preference 'IncludeSeeAlsoFromInSearches'";
say_success( $out, "Added new system preference 'IncludeSeeAlsoFromInSearches'" );
},
};