Bug 14146: Add the new pref CumulativeRestrictionPeriods
Sponsored-by: Orex Digital Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
66584e46bd
commit
66d322d919
3 changed files with 9 additions and 0 deletions
2
installer/data/mysql/atomicupdate/bug_14146.sql
Normal file
2
installer/data/mysql/atomicupdate/bug_14146.sql
Normal file
|
@ -0,0 +1,2 @@
|
|||
INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type)
|
||||
VALUES ('CumulativeRestrictionPeriods', 0, NULL, 'Cumulate the restriction periods instead of keeping the highest', 'YesNo');
|
|
@ -111,6 +111,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `
|
|||
('ConfirmFutureHolds','0','','Number of days for confirming future holds','Integer'),
|
||||
('ConsiderOnSiteCheckoutsAsNormalCheckouts','1',NULL,'Consider on-site checkouts as normal checkouts','YesNo'),
|
||||
('CronjobLog','0',NULL,'If ON, log information from cron jobs.','YesNo'),
|
||||
('CumulativeRestrictionPeriods',0,NULL,'Cumulate the restriction periods instead of keeping the highest','YesNo'),
|
||||
('CurrencyFormat','US','US|FR|CH','Determines the display format of currencies. eg: \'36000\' is displayed as \'360 000,00\' in \'FR\' or \'360,000.00\' in \'US\'.','Choice'),
|
||||
('dateformat','us','metric|us|iso|dmydot','Define global date format (us mm/dd/yyyy, metric dd/mm/yyy, ISO yyyy-mm-dd, dmydot dd.mm.yyyy)','Choice'),
|
||||
('DebugLevel','2','0|1|2','Define the level of debugging information sent to the browser when errors are encountered (set to 0 in production). 0=none, 1=some, 2=most','Choice'),
|
||||
|
|
|
@ -465,6 +465,12 @@ Circulation:
|
|||
- This is a list of value pairs. When an item is checked in, if the not for loan value on the left matches the items not for loan value
|
||||
- "it will be updated to the right-hand value. E.g. '-1: 0' will cause an item that was set to 'Ordered' to now be available for loan."
|
||||
- Each pair of values should be on a separate line.
|
||||
-
|
||||
- pref: CumulativeRestrictionPeriods
|
||||
choices:
|
||||
yes: Cumulate
|
||||
no: "Don't cumulate"
|
||||
- the restriction periods.
|
||||
Holds Policy:
|
||||
-
|
||||
- pref: AllowHoldItemTypeSelection
|
||||
|
|
Loading…
Reference in a new issue