Bug 29510: (follow-up) Adapt GET /patrons/:patron_id
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 17 Nov 2021 21:09:02 +0000 (18:09 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 19 Feb 2024 13:41:11 +0000 (14:41 +0100)
commitfc9f4ba5fca24c9ef64c106f09b87e672fb6cff3
tree2799f9071e1b6d7c5db676269582ab9c53f6bf66
parent36a1b9e4dff208b6b55ea50008984c7ca0fb298f
Bug 29510: (follow-up) Adapt GET /patrons/:patron_id

This patch makes GET /patrons/:patron_id rely on this new behavior from the
objects.find helper.

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

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
(cherry picked from commit 62df2689de670b81539a3569b0c8ec9e744d3170)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/REST/V1/Patrons.pm