From ce23235ec5229a2b6bb287014674fc856fad7084 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 2 Nov 2015 12:39:52 -0300 Subject: [PATCH] Bug 10904: DBRev 3.21.00.047 Signed-off-by: Tomas Cohen Arazi --- Koha.pm | 2 +- installer/data/mysql/sysprefs.sql | 2 +- installer/data/mysql/updatedatabase.pl | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Koha.pm b/Koha.pm index c01c5444a7..3a4ed117db 100644 --- a/Koha.pm +++ b/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 = "3.21.00.046"; +$VERSION = "3.21.00.047"; sub version { return $VERSION; diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql index 894ce54dca..cb77b7d0e1 100644 --- a/installer/data/mysql/sysprefs.sql +++ b/installer/data/mysql/sysprefs.sql @@ -164,7 +164,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('ImageLimit','5','','Limit images stored in the database by the Patron Card image manager to this number.','Integer'), ('IncludeSeeFromInSearches','0','','Include see-from references in searches.','YesNo'), ('IndependentBranches','0',NULL,'If ON, increases security between libraries','YesNo'), -('IndependentBranchesPatronModifications',0, NULL, 'Show only modification request for the logged in branch','YesNo'), +('IndependentBranchesPatronModifications','0', NULL, 'Show only modification request for the logged in branch','YesNo'), ('OnSiteCheckouts','0','','Enable/Disable the on-site checkouts feature','YesNo'), ('OnSiteCheckoutsForce','0','','Enable/Disable the on-site for all cases (Even if a user is debarred, etc.)','YesNo'), ('InProcessingToShelvingCart','0','','If set, when any item with a location code of PROC is \'checked in\', it\'s location code will be changed to CART.','YesNo'), diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 25dea5f192..3b2bc55484 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -11237,13 +11237,13 @@ if ( CheckVersion($DBversion) ) { SetVersion($DBversion); } -$DBversion = "3.21.00.XXX"; +$DBversion = "3.21.00.047"; if(CheckVersion($DBversion)) { $dbh->do(q{ INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) - VALUES ('IndependentBranchesPatronModifications',0,'Show only modification request for the logged in branch','','YesNo') + VALUES ('IndependentBranchesPatronModifications','0','Show only modification request for the logged in branch','','YesNo') }); - print "Upgrade to $DBversion done (Bug 10904 - would like to limit patron update request management by branch)\n"; + print "Upgrade to $DBversion done (Bug 10904: Limit patron update request management by branch)\n"; SetVersion($DBversion); } -- 2.39.5