[koha-commits] main Koha release repository branch master updated. v16.05.00-531-gd44732b
Git repo owner
gitmaster at git.koha-community.org
Wed Aug 24 13:33:53 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 d44732bacd87fb304990b91d06786eda82b46cba (commit)
via 38c461f258292adb6199f2b0f261ecc3280b6aa5 (commit)
from adbcaa99f4f1a0dc3c739cb15b4d3039d2a79c9e (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 d44732bacd87fb304990b91d06786eda82b46cba
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Jun 27 12:24:15 2016 -0300
Bug 15023: (followup) Remove warnings
By setting 'use Modern::Perl' some previously hidden warnings arised.
This patch removes them by testing the variable $balance for undef
before using it in a comparisson.
Sponsored-by: VOKAL
Signed-off-by: Liz Rea <liz at catalyst.net.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit 38c461f258292adb6199f2b0f261ecc3280b6aa5
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Jun 27 12:12:52 2016 -0300
Bug 15023: Allow patron anonymize/bulk delete tool to be limited by branch
This patch makes the bulk patron delete/anonymize functionality be limited
by branch. It does so by adding a branch selection dropdown and using the
already defined APIs for filtering by branch.
It makes use of C4::Branches::onlymine for the IndependentBranches use case
and it adds a way to call it from the Branches template plugin.
To test:
- Apply the patch
1) Have a superlibrarian user
- Go to Tools > Batch patron deletion/anonymization
=> SUCCESS: Verify you can pick a branch (or all of them)
- Try doing some operations
=> SUCCESS: Verify the selection is respected, and carried around all steps
2) Have a user with tools/delete_anonymize_patrons permissions
- Set IndependentBranches on
- Go to Tools > Batch patron deletion/anonymization
=> SUCCESS: It picks the librarian's branch and doesn't let us choose another one
- Try doing some operations
=> SUCCESS: Verify the user's branch is respected, and carried around all steps
- Sign off :-D
Sponsored-by: VOKAL
Signed-off-by: Liz Rea <liz at catalyst.net.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
Koha/Template/Plugin/Branches.pm | 4 +++
.../prog/en/modules/tools/cleanborrowers.tt | 38 ++++++++++++++++++--
tools/cleanborrowers.pl | 31 +++++++++++-----
3 files changed, 62 insertions(+), 11 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list