Bug 10612 - Add ability to delete patrons with batch patron deletion tool
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 11 Jun 2014 12:11:48 +0000 (08:11 -0400)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Fri, 1 Apr 2016 19:52:13 +0000 (19:52 +0000)
commit7f9d5b27aef81bdbb1f0dd26faa0f498a6d6c2eb
tree0e3138b5bde1b6823bb1faf2e8e710cdb9388ead
parent7a3c9951bb0daac178220a97f1a1d373c6036619
 Bug 10612 - Add ability to delete patrons with batch patron deletion tool

This patch adds the ability to select a patron list for deletetion
when using the Batch patron deletion/anonymization tool. It also adds
buttons to the the patron lists table to access both the batch deletion
and batch modification directly from the lists view.

This is a squash of previous patches but now adds a patron_list_id
parameter to C4::Members::GetBorrowersToExpunge and uses that routine to
fetch patrons from a list.

Test Plan:
1) Apply this patch
2) Create a list of patrons with the new Patron Lists feature
3) Try using the batch edit link form the lists table
4) Try using the batch delete link from the lists table
5) Verify previous functionality has not changed

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Patron batches are correctly passed to the edit and delete pages.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
C4/Members.pm
koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt
koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt
tools/cleanborrowers.pl