Bug 30275: Add renewals relation to Koha::Old::Checkout
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 26 Apr 2022 14:56:45 +0000 (15:56 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 5 Jul 2022 12:46:14 +0000 (09:46 -0300)
commitcefbaca5914f4e8a4366b29376af9a7b98583afd
tree6894a524f15cea7ec07e6c3f193ef66c4256fc8f
parent557dfa9eae15143f6a08b1e95bbd61b27b06aa52
Bug 30275: Add renewals relation to Koha::Old::Checkout

Add the new 'renewals' relation to Koha::Old::Checkout to return a
list of Koha::Checkouts::Renewal objects.

We also add the same relation to the OldIssue schema inline.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Old/Checkout.pm
Koha/Schema/Result/OldIssue.pm