Bug 19059: Move C4::Reserves::CancelReserve to Koha::Hold->cancel
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 2 Aug 2017 17:00:12 +0000 (14:00 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 12 Sep 2017 15:42:58 +0000 (12:42 -0300)
commit82115d164a15767965d267826cc64e74132bd374
treeb66083c7de7ba91a6fbb4230060f2419b965d4a1
parent5400795a6651adc021801052fa0186747983b587
Bug 19059: Move C4::Reserves::CancelReserve to Koha::Hold->cancel

This patch adds a new Koha::Hold->cancel method and replaces the calls
to C4::Reserves::CancelReserve with it.

Test plan:
- Add and cancel holds
- Change priority of holds

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
20 files changed:
C4/Biblio.pm
C4/ILSDI/Services.pm
C4/Reserves.pm
C4/SIP/ILS/Transaction/Hold.pm
Koha/Hold.pm
Koha/Patron/Discharge.pm
Koha/REST/V1/Hold.pm
circ/branchtransfers.pl
circ/returns.pl
circ/waitingreserves.pl
opac/opac-modrequest.pl
reserve/request.pl
t/db_dependent/Circulation.t
t/db_dependent/Holds.t
t/db_dependent/Holds/HoldFulfillmentPolicy.t
t/db_dependent/Holds/HoldItemtypeLimit.t
t/db_dependent/HoldsQueue.t
t/db_dependent/Reserves.t
t/db_dependent/UsageStats.t
tools/batch_delete_records.pl