Bug 20168: DBRev 20.06.00.036

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2020-09-09 12:28:13 +00:00
parent eb7a8db2c0
commit 886d570e26
3 changed files with 9 additions and 8 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.06.00.035";
$VERSION = "20.06.00.036";
sub version {
return $VERSION;

View File

@ -1,7 +0,0 @@
$DBversion = 'XXX'; # will be replaced by the RM
if( CheckVersion( $DBversion ) ) {
# Fix the markup in the OPACSearchForTitleIn system preference
$dbh->do("UPDATE systempreferences SET VALUE = replace( value, '</li>', ''), value = REPLACE( value, '<li>', '') WHERE VARIABLE = 'OPACSearchForTitleIn';");
NewVersion( $DBversion, 20168, "Update OPACSearchForTitleIn to work with Bootstrap 4");
}

View File

@ -22769,6 +22769,14 @@ if ( CheckVersion( $DBversion ) ) {
NewVersion( $DBversion, 23682, "Add new system preference 'EdifactInvoiceImport'" );
}
$DBversion = '20.06.00.036';
if( CheckVersion( $DBversion ) ) {
# Fix the markup in the OPACSearchForTitleIn system preference
$dbh->do("UPDATE systempreferences SET VALUE = replace( value, '</li>', ''), value = REPLACE( value, '<li>', '') WHERE VARIABLE = 'OPACSearchForTitleIn';");
NewVersion( $DBversion, 20168, "Update OPACSearchForTitleIn to work with Bootstrap 4");
}
# 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/';