]> git.koha-community.org Git - koha.git/commit
Bug 29495: (follow-up) Use 'item' relationship
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 18 Nov 2021 15:47:02 +0000 (15:47 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 4 Feb 2022 18:27:06 +0000 (13:27 -0500)
commitc88dcc3a48f2dd89856798c6ed554c8a689781ee
treef3d71f8ec31869248afd17a33e13d564abbf9fa0
parentaa0239a13dd6c35169002502e578bdc9b5aea3d2
Bug 29495: (follow-up) Use 'item' relationship

This patch adds the missing 'item' relationship in
Checkouts::ReturnClaim and then uses it from the resolve method.

This improve the reliability of the resolution code so it works when the
item has already been checked in (without having to check
Old::Checkouts).

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Checkouts/ReturnClaim.pm
Koha/Schema/Result/ReturnClaim.pm