Bugzilla – Attachment 51424 Details for
Bug 11490
MaxItemsForBatch should be split into two new prefs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11490: Add prefs MaxItemsToProcessForBatchMod and MaxItemsToDisplayForBatchDel
Bug-11490-Add-prefs-MaxItemsToProcessForBatchMod-a.patch (text/plain), 3.79 KB, created by
Jonathan Druart
on 2016-05-11 13:19:43 UTC
(
hide
)
Description:
Bug 11490: Add prefs MaxItemsToProcessForBatchMod and MaxItemsToDisplayForBatchDel
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-05-11 13:19:43 UTC
Size:
3.79 KB
patch
obsolete
>From 3002ae64118686c7b260e4e27f913f8b94733d7d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 11 May 2016 14:10:41 +0100 >Subject: [PATCH] Bug 11490: Add prefs MaxItemsToProcessForBatchMod and > MaxItemsToDisplayForBatchDel > >--- > installer/data/mysql/atomicupdate/bug_11490.sql | 5 +++++ > installer/data/mysql/sysprefs.sql | 3 ++- > .../prog/en/modules/admin/preferences/tools.pref | 11 ++++++++--- > 3 files changed, 15 insertions(+), 4 deletions(-) > create mode 100644 installer/data/mysql/atomicupdate/bug_11490.sql > >diff --git a/installer/data/mysql/atomicupdate/bug_11490.sql b/installer/data/mysql/atomicupdate/bug_11490.sql >new file mode 100644 >index 0000000..6b2dee5 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_11490.sql >@@ -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"; >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index d95754d..546e46f 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -232,7 +232,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'), >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/tools.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/tools.pref >index 5a3ddce..a2a381d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/tools.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/tools.pref >@@ -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 >-- >2.7.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11490
:
51424
|
51425
|
52000
|
52001
|
52496
|
52497