Bug 29506: (follow-up) Adapt GET /patrons
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 17 Nov 2021 17:57:26 +0000 (14:57 -0300)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 7 Jan 2022 11:34:38 +0000 (06:34 -0500)
commit521a5c41c5ff4b4171d54adde81626546af1c16c
tree7a5c9f7fab436a9fb6a1db0f8ab96538098c85d8
parent547c09ee6a4be06cc90ef749638b92ce216b12ad
Bug 29506: (follow-up) Adapt GET /patrons

This patch makes GET /patrons rely on this new behavior from the
objects.search 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: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/REST/V1/Patrons.pm