Bug 29780: Add Koha::Old::Holds->anonymize
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 3 Jan 2022 13:37:09 +0000 (10:37 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 11 Feb 2022 00:44:22 +0000 (14:44 -1000)
commite654a1b1009b6ff88570f9944d23d39933a1b0f6
tree756b51fa300bdfaa0a7c42c4cb58b4a1e1ae34d3
parent34c405d6fe32cd7d803ff7b6ee66ccea3c458327
Bug 29780: Add Koha::Old::Holds->anonymize

This patch adds a handy method for anonymizing a Koha::Old::Holds
resultset. It is planned to be used on bug 29526.

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

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Old/Holds.pm