]> git.koha-community.org Git - koha.git/commit
Bug 11343: The max number of items to process in a batch is hardcoded
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 5 Dec 2013 14:30:42 +0000 (15:30 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 27 May 2014 14:32:18 +0000 (16:32 +0200)
commita8719d90aea65dc8fb6f8e0112d62a8e2782ab96
tree6fa875b1350df684bd4ef85e14b744d0cfd84e82
parentafa5643a743bb58d44b9a44f346ab0cb95732a60
Bug 11343: The max number of items to process in a batch is hardcoded

Until now, the maximum number of item records to process in a batch was
hardcoded to 1000.
This patch adds a syspref MaxItemsForBatch in order to allow to adapt
this value.

Test plan:
- set the pref to 2
- try to delete a batch of 3 items: they are not displayed
- try to modify a batch of 3 items: you are not allowed to do that
- set the pref to 1000 and try again. Now items are displayed and you
  are allow to modify them.

Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 0e8f85a3b344ed1900c7b5523c1fb5aa264ab89e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Conflicts:
installer/data/mysql/updatedatabase.pl
installer/data/mysql/sysprefs.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/tools.pref [new file with mode: 0644]
tools/batchMod.pl