Bug 26403: Move credit and debit types into translatable YAML files
[koha.git] / installer / data / mysql / db_revs / 211200026.pl
1 use Modern::Perl;
2
3 return {
4     bug_number => "17018",
5     description => "Split AdvancedSearchTypes for staff and OPAC",
6     up => sub {
7         my ($args) = @_;
8         my $dbh = $args->{dbh};
9         $dbh->do(q{
10             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'
11         });
12     },
13 };