Koha/installer/data/mysql/db_revs/230600050.pl
Tomas Cohen Arazi b4cfe0019a
Bug 31846: DBRev 23.06.00.050
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-25 10:35:28 -03:00

19 lines
561 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "31846",
description => "Allow setting serials search results limit",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
$dbh->do(
q{
INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type)
VALUES ('SerialsSearchResultsLimit', NULL, NULL, 'Serials search results limit', 'integer')
}
);
say $out "Added new system preference 'SerialsSearchResultsLimit'";
},
};