Bug 10904: DBRev 3.21.00.047
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 2 Nov 2015 15:39:52 +0000 (12:39 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 2 Nov 2015 15:39:52 +0000 (12:39 -0300)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha.pm
installer/data/mysql/sysprefs.sql
installer/data/mysql/updatedatabase.pl

diff --git a/Koha.pm b/Koha.pm
index c01c544..3a4ed11 100644 (file)
--- 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;
index 894ce54..cb77b7d 100644 (file)
@@ -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'),
index 25dea5f..3b2bc55 100755 (executable)
@@ -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);
 }