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)
committerWainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
Mon, 26 Feb 2024 03:57:15 +0000 (03:57 +0000)
commitfd5bd06085f3178178c64523954e84cc3d885ae3
tree8f655271ba7a3f7ff0dbf6fc6ef5a4bc84e771a5
parent6f62dc996e391343bb5e81e8988d017816bb8c9a
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>
Signed-off-by: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
Koha/REST/V1/Patrons.pm