Bug 23893: Use in /patrons
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 12 Nov 2019 13:00:14 +0000 (10:00 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 8 Jan 2020 14:38:38 +0000 (14:38 +0000)
commit09bfdddc7af2a93b61280b1d2d6059ef23c31586
tree7f6fbf14546e75e717693e87693e7d9f900fb0ae
parentc46c86b3e7f6c7eb7e482a7c18745d02fd11e346
Bug 23893: Use in /patrons

This patch makes the patrons endpoint use the new methods from
Koha::Object.

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

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Patron.pm
Koha/REST/V1/Patrons.pm