Bug 29525: Add Koha::Old::Holds->filter_by_anonymizable
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 3 Jan 2022 18:06:23 +0000 (15:06 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 11 Feb 2022 00:44:22 +0000 (14:44 -1000)
commit67a48726b76b296a35707ceac3b2c32e880fc7db
tree75e14075bae2bfaa7af3117a3131321366a21f46
parentc8c6655bdeffa9426165e6a513f5a7b61e441a9a
Bug 29525: Add Koha::Old::Holds->filter_by_anonymizable

This patch adds the 'filter_by_anonymizable' method, and tests for it. A
new DBIC relationship is added as well to the OldReserve schema file.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ t/db_dependent/Koha/Old/Holds.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/Holds.pm
Koha/Schema/Result/OldReserve.pm
t/db_dependent/Koha/Old/Holds.t