]> git.koha-community.org Git - koha.git/commit
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)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 21 Feb 2024 21:49:11 +0000 (21:49 +0000)
commit5af64c5c448df79fe88c24cf9bf3eca59fd863ba
tree9052d35dc3a8e2398172e3d81b013aa7ad4c476e
parent6197d5b07a8a804ef4a9e376bdf674ae376d77c6
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: Lucas Gass <lucas@bywatersolutions.com>
Koha/REST/V1/Patrons.pm