Bug 28826: DBRev 21.05.04.002

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Kyle Hall 2021-10-08 09:32:21 -04:00
parent ef40ba17ae
commit 7d13ba8bfb
2 changed files with 10 additions and 9 deletions

View File

@ -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");
}

View File

@ -24496,6 +24496,16 @@ if( CheckVersion( $DBversion ) ) {
NewVersion( $DBversion, "29073", "Make DefaultHoldExpirationdate use 1/0 values" );
}
$DBversion = '21.05.04.002';
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");
}
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.
my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/';