Bug 19290: DBRev 17.12.00.018

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2018-02-19 16:16:57 -03:00
parent c9a7b6742b
commit e7d4c773be
3 changed files with 12 additions and 3 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 = "17.12.00.017";
$VERSION = "17.12.00.018";
sub version {
return $VERSION;

View file

@ -1 +0,0 @@
INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type`) VALUES ('BrowseResultSelection','0',NULL,'Enable/Disable browsing search results fromt the bibliographic record detail page in staff client','YesNo');

View file

@ -15564,7 +15564,17 @@ if( CheckVersion( $DBversion ) ) {
print "Upgrade to $DBversion done (Bug 17672 - Add damaged_on to items and deleteditems tables)\n";
}
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
$DBversion = '17.12.00.018';
if( CheckVersion( $DBversion ) ) {
$dbh->do( q|
INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type`) VALUES ('BrowseResultSelection','0',NULL,'Enable/Disable browsing search results fromt the bibliographic record detail page in staff client','YesNo')
|);
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 19290 - Add system preference BrowseResultSelection)\n";
}
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.