Bug 11490: Add prefs MaxItemsToProcessForBatchMod and MaxItemsToDisplayForBatchDel

Signed-off-by: Laurence Rault <laurence.rault@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2016-05-11 14:10:41 +01:00 committed by Kyle M Hall
parent 0d690ca383
commit 20f4235048
3 changed files with 15 additions and 4 deletions

View File

@ -0,0 +1,5 @@
INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type )
SELECT 'MaxItemsToProcessForBatchMod', value, NULL, 'Process up to a given number of items in a single item modification batch.', 'Integer' FROM systempreferences WHERE variable='MaxItemsForBatch';
INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type )
SELECT 'MaxItemsToDisplayForBatchDel', value, NULL, 'Display up to a given number of items in a single item deletionbatch.', 'Integer' FROM systempreferences WHERE variable='MaxItemsForBatch';
DELETE FROM systempreferences WHERE variable="MaxItemsForBatch";

View File

@ -231,7 +231,8 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `
('MarcFieldsToOrder','',NULL,'Set the mapping values for a new order line created from a MARC record in a staged file. In a YAML format.','textarea'),
('MARCOrgCode','OSt','','Define MARC Organization Code for MARC21 records - http://www.loc.gov/marc/organizations/orgshome.html','free'),
('MaxFine',NULL,'','Maximum fine a patron can have for all late returns at one moment. Single item caps are specified in the circulation rules matrix.','Integer'),
('MaxItemsForBatch','1000',NULL,'Max number of items record to process in a batch (modification or deletion)','Integer'),
('MaxItemsToDisplayForBatchDel','1000',NULL,'Display up to a given number of items in a single item deletionbatch.','Integer'),
('MaxItemsToProcessForBatchMod','1000',NULL,'Process up to a given number of items in a single item modification batch.','Integer'),
('maxItemsInSearchResults','20',NULL,'Specify the maximum number of items to display for each result on a page of results','free'),
('maxoutstanding','5','','maximum amount withstanding to be able make holds','Integer'),
('maxRecordsForFacets','20',NULL,NULL,'Integer'),

View File

@ -1,10 +1,15 @@
Tools:
Batch item modification:
Batch item:
-
- Process up to
- pref: MaxItemsForBatch
- pref: MaxItemsToProcessForBatchMod
class: integer
- items in a single modification or deletion batch.
- items in a single item modification batch.
-
- Display up to
- pref: MaxItemsToDisplayForBatchDel
class: integer
- items in a single item deletion batch.
Patron cards:
-
- Limit the number of creator images stored in the database to