[koha-commits] main Koha release repository branch master updated. v16.05.00-158-g2279a2f
Git repo owner
gitmaster at git.koha-community.org
Fri Jun 24 13:52:17 CEST 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 2279a2fea05bc4d6e27b239f45c5d5733a37eef2 (commit)
via 6b2c55ecdd7ad128c7ec923e70b13b1f287c7d00 (commit)
via 20f42350488ccd2795af3863ab1954d22b92eeae (commit)
from 0d690ca383f49d62b1b040004e960596e1a39b2d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2279a2fea05bc4d6e27b239f45c5d5733a37eef2
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date: Fri Jun 24 11:53:02 2016 +0000
Bug 11490 - DBRev 16.06.00.003
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit 6b2c55ecdd7ad128c7ec923e70b13b1f287c7d00
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed May 11 14:10:49 2016 +0100
Bug 11490: Split MaxItemsForBatch into 2 prefs to clarify things
Prior to this patch, a single pref (MaxItemsForBatch) was used to
restrict the use of the batch item modification and deletion.
On the batch modification tool, the pref is used to limit the number of
items a librarian is allowed to modify in a batch, but on the batch
deletion tool the pref is used to limit the number of items to display.
To clarify things, this patch split the pref into 2 new prefs:
MaxItemsToDisplayForBatchDel and MaxItemsToProcessForBatchMod.
Later we could add a MaxItemsToProcessForBatchDel if needed.
Note that this patch should not introduce any changes in the current behaviors.
Test plan:
0/ Do not execute the update DB entry
1/ Set a value != 1000 for MaxItemsForBatch
2/ Execute the update DB entry and confirm that the 2 new prefs are
initially set with the value of MaxItemsForBatch and that
MaxItemsForBatch has been deleted
3/ Set different values for these 2 prefs (2 and 3 for instance to ease
the next steps)
4/ Try to delete less than MaxItemsToDisplayForBatchDel items
=> You must see the items details
5/ Try to delete more than MaxItemsToDisplayForBatchDel items
=> You must not see the items details but are allowed to delete them
6/ Try to modify less than MaxItemsToProcessForBatchMod items
=> You must see the items details
7/ Try to modify more than MaxItemsToProcessForBatchMod items
=> You must be restricted and not allowed to process
Signed-off-by: Laurence Rault <laurence.rault at biblibre.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit 20f42350488ccd2795af3863ab1954d22b92eeae
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed May 11 14:10:41 2016 +0100
Bug 11490: Add prefs MaxItemsToProcessForBatchMod and MaxItemsToDisplayForBatchDel
Signed-off-by: Laurence Rault <laurence.rault at biblibre.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
Koha.pm | 2 +-
installer/data/mysql/sysprefs.sql | 3 ++-
installer/data/mysql/updatedatabase.pl | 18 ++++++++++++++++++
.../prog/en/modules/admin/preferences/tools.pref | 11 ++++++++---
.../prog/en/modules/tools/batchMod-edit.tt | 3 ++-
tools/batchMod.pl | 9 ++++++---
6 files changed, 37 insertions(+), 9 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list