Bug 28826: DBRev 20.11.10.001

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Kyle Hall 2021-10-08 09:32:21 -04:00 committed by Fridolin Somers
parent d8f2674cc2
commit e490a0860e
3 changed files with 11 additions and 10 deletions

View File

@ -29,7 +29,7 @@ use vars qw{ $VERSION };
# - #4 : the developer version. The 4th number is the database subversion.
# used by developers when the database changes. updatedatabase take care of the changes itself
# and is automatically called by Auth.pm when needed.
$VERSION = "20.11.10.000";
$VERSION = "20.11.10.001";
sub version {
return $VERSION;

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

@ -23692,6 +23692,16 @@ if( CheckVersion( $DBversion ) ) {
NewVersion( $DBversion, "", "Koha 20.11.10 release" );
}
$DBversion = '20.11.10.001';
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/';