]> 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)
committerWainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
Wed, 27 Mar 2024 05:30:13 +0000 (05:30 +0000)
commit7165c186b0ac7e92b0c7c053a2f8fbc1e7d93ad7
tree3652cf97f77cdc07ff13cc056a79e86c921a280a
parenta8211f9fa163d6b72ba19248f94a65f98c80f51b
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