Jonathan Druart
3 years ago
3 changed files with 17 additions and 10 deletions
@ -1,9 +0,0 @@ |
|||
$DBversion = 'XXX'; |
|||
if( CheckVersion( $DBversion ) ) { |
|||
$dbh->do(q{ |
|||
INSERT IGNORE INTO systempreferences |
|||
( variable, value, options, explanation, type ) VALUES |
|||
('FacetOrder','Alphabetical','Alphabetical|Usage','Specify the order of facets within each category','Choice') |
|||
}); |
|||
NewVersion( $DBversion, 28826, "Add system preference FacetOrder"); |
|||
} |
@ -0,0 +1,16 @@ |
|||
use Modern::Perl; |
|||
|
|||
return { |
|||
bug_number => "28826", |
|||
description => "A system preference FacetOrder", |
|||
up => sub { |
|||
my ($args) = @_; |
|||
my ($dbh, $out) = @$args{qw(dbh out)}; |
|||
|
|||
$dbh->do(q{ |
|||
INSERT IGNORE INTO systempreferences |
|||
( variable, value, options, explanation, type ) VALUES |
|||
('FacetOrder','Alphabetical','Alphabetical|Usage','Specify the order of facets within each category','Choice') |
|||
}); |
|||
}, |
|||
} |
Loading…
Reference in new issue