Bug 19057: Move C4::Reserve::GetReserve to Koha::Holds
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 2 Aug 2017 15:21:20 +0000 (12:21 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 1 Sep 2017 20:05:17 +0000 (17:05 -0300)
commita6de2b66d19b8418dcb792c23e17b211e4c17719
tree6e23a271f03535ff9f887e98bad4d35e7998675a
parent49778103ce528ccfc7fcc8be26bcae3b4ae7815b
Bug 19057: Move C4::Reserve::GetReserve to Koha::Holds

This GetReserve subroutine can be replaced with Koha::Holds->find

Test plan:
-  git grep GetReserve
must not return results where GetReserve is called
- Cancel a reserve

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/ILSDI/Services.pm
C4/Reserves.pm
Koha/REST/V1/Hold.pm
t/db_dependent/Circulation/issue.t
t/db_dependent/Holds.t
t/db_dependent/Items/MoveItemFromBiblio.t
t/db_dependent/Reserves.t