]> git.koha-community.org Git - koha.git/commit
Bug 29843: Add ->anonymize and ->filter_by_anonymizable to Koha::Old::Checkouts
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 10 Jan 2022 14:23:10 +0000 (11:23 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 11 Feb 2022 00:44:23 +0000 (14:44 -1000)
commit91e76a5a2690a110b7a239a44a594aca02795e31
tree1c8934e2ae39e4e1b2dee46f20bbbc7096ced974
parent7287edae77922ebb71e9fb6029acdd3a51fca3d2
Bug 29843: Add ->anonymize and ->filter_by_anonymizable to Koha::Old::Checkouts

This patch implements high-level methods for:

* Filtering a Koha::Old::Checkouts resultset so only anonymizable rows
  are left
* Anonymizing the rows in a resultset

To test:
1. Apply this patches
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Old/Checkouts.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Old/Checkouts.pm