]> git.koha-community.org Git - koha.git/commit
Bug 19302: Send koha::objects to C4::Reserves::IsAvailableForItemLevelRequest
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 12 Sep 2017 18:26:27 +0000 (15:26 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 10 May 2019 18:57:20 +0000 (18:57 +0000)
commit917a506ffc983f63d9541c862180916bb2adc0a0
treee831624a1ca2727de8a8a1c73493689386f4d59b
parentf550977f73997371bdbac3d6e68b66294b4eb677
Bug 19302: Send koha::objects to C4::Reserves::IsAvailableForItemLevelRequest

Almost everywhere we call IsAvailableForItemLevelRequest we already have
a Koha::Patron and Koha::Item object. It makes sense to use them to
avoid a refetch

Test plan:
It would be good to test this patch on top of 19300 and 19301 and make
sure everything works as expected

Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Circulation.pm
C4/ILSDI/Services.pm
C4/Reserves.pm
opac/opac-reserve.pl
reserve/request.pl
t/db_dependent/Holds/DisallowHoldIfItemsAvailable.t
t/db_dependent/Reserves.t