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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 18 Jan 2022 00:55:55 +0000 (14:55 -1000)
commitddd138e0c8ef80b22b6c990b4f3167d127c7d223
tree0a74bfa94c25b1238a64bfbbffc80e4b0f415e39
parent3e17d55976a205dabe7ca4a587bfc24b4e349676
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