]> git.koha-community.org Git - koha.git/commit
Bug 11975: improve the batch patron deletion code
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 20 Mar 2014 15:41:29 +0000 (16:41 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 9 May 2014 14:32:21 +0000 (14:32 +0000)
commit4e7e8a5544297aa6d02eb86b4a621e25a19e9e0b
treee10af5625fb883278a739e5288444e6d6a42be54
parent606e902838f866cdf92c2bb66a4666d8d66c0498
Bug 11975: improve the batch patron deletion code

This patch tries to improve the code for the cleanborrowers.pl tool.

- use KohaDates plugin and Koha::DateUtils for date management,
  removing a dependency on C4::Dates
- replace variables step1, step2 and step3 with step
- add a JavaScript check if no action if checked

Test plan:
- Backup your DB
- Play with the Patron deletion/anonymisation tool and try to find
  something inconsistent.
If you don't find something different, it works!

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt
tools/cleanborrowers.pl