Browse Source

Bug 19290: DBRev 17.12.00.018

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
18.05.x
Jonathan Druart 6 years ago
parent
commit
e7d4c773be
  1. 2
      Koha.pm
  2. 1
      installer/data/mysql/atomicupdate/bug_19290.sql
  3. 12
      installer/data/mysql/updatedatabase.pl

2
Koha.pm

@ -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;

1
installer/data/mysql/atomicupdate/bug_19290.sql

@ -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');

12
installer/data/mysql/updatedatabase.pl

@ -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.

Loading…
Cancel
Save