Bug 10904: DBRev 3.21.00.047

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Tomas Cohen Arazi 2015-11-02 12:39:52 -03:00
parent 11bfcd0dd6
commit ce23235ec5
3 changed files with 5 additions and 5 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 = "3.21.00.046";
$VERSION = "3.21.00.047";
sub version {
return $VERSION;

View 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'),

View File

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