]> git.koha-community.org Git - koha.git/commit
Bug 28588: (follow-up) Make the API use the new method
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 18 Jun 2021 19:34:00 +0000 (16:34 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 23 Jun 2021 13:09:56 +0000 (15:09 +0200)
commit883ee12560f11fc2fbf35c72bbf63520ce0e4762
treed907963e612259acd3ad3748c0358c81b109bc7c
parent9964bd4b58bd114e052d5448a5a2fe4c1dfcf3d3
Bug 28588: (follow-up) Make the API use the new method

This patch adapts the controller method for resolving a return claim so
it uses the Koha::Checkouts::ReturnClaim method instead.

To test:
1. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/return_claims.t
=> SUCCESS: Tests pass!
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests pass!
4. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/REST/V1/ReturnClaims.pm