Koha/installer/data/mysql/db_revs/211200026.pl
Fridolin Somers 2aaa0b87cf Bug 17018: DBRev 21.12.00.026
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-12 17:13:02 +02:00

13 lines
554 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "17018",
description => "Split AdvancedSearchTypes for staff and OPAC",
up => sub {
my ($args) = @_;
my $dbh = $args->{dbh};
$dbh->do(q{
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) SELECT 'OpacAdvancedSearchTypes', `value`, `options`, 'Select which set of fields are available as limits on the OPAC advanced search page', `type` FROM systempreferences WHERE variable = 'AdvancedSearchTypes'
});
},
};