Bug 14642: (QA followup) Make HoldsLog default to 0

After a couple comments regarding the default value I picked for the
new syspref, I've decided to set it 0, as libraries interested on the
fetarue will just enable it.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Tomás Cohen Arazi 2016-07-26 16:04:16 -03:00 committed by Kyle M Hall
parent d1eb706153
commit fde83bd73d
2 changed files with 3 additions and 3 deletions

View file

@ -1,11 +1,11 @@
INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type ) VALUES
('HoldsLog','1',NULL,'If ON, log create/cancel/suspend/resume actions on holds.','YesNo');
('HoldsLog','0',NULL,'If ON, log create/cancel/suspend/resume actions on holds.','YesNo');
-- $DBversion = "16.06.00.XXX";
-- if ( CheckVersion($DBversion) ) {
-- $dbh->do(q{
-- INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type ) VALUES
-- ('HoldsLog','1',NULL,'If ON, log create/cancel/suspend/resume actions on holds.','YesNo');
-- ('HoldsLog','0',NULL,'If ON, log create/cancel/suspend/resume actions on holds.','YesNo');
-- });
-- print "Upgrade to $DBversion done (Bug 14642: Add logging of hold modifications)\n";

View file

@ -168,7 +168,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `
('HighlightOwnItemsOnOPAC','0','','If on, and a patron is logged into the OPAC, items from his or her home library will be emphasized and shown first in search results and item details.','YesNo'),
('HighlightOwnItemsOnOPACWhich','PatronBranch','PatronBranch|OpacURLBranch','Decides which branch\'s items to emphasize. If PatronBranch, emphasize the logged in user\'s library\'s items. If OpacURLBranch, highlight the items of the Apache var BRANCHCODE defined in Koha\'s Apache configuration file.','Choice'),
('HoldFeeMode','not_always','always|not_always','Set the hold fee mode','Choice'),
('HoldsLog','1',NULL,'If ON, log create/cancel/suspend/resume actions on holds.','YesNo'),
('HoldsLog','0',NULL,'If ON, log create/cancel/suspend/resume actions on holds.','YesNo'),
('HoldsQueueSkipClosed', '0', NULL, 'If enabled, any libraries that are closed when the holds queue is built will be ignored for the purpose of filling holds.', 'YesNo'),
('HoldsToPullStartDate','2',NULL,'Set the default start date for the Holds to pull list to this many days ago','Integer'),
('HomeOrHoldingBranch','holdingbranch','holdingbranch|homebranch','Used by Circulation to determine which branch of an item to check with independent branches on, and by search to determine which branch to choose for availability ','Choice'),