Bug 29506: (follow-up) Adapt GET /patrons
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 17 Nov 2021 17:57:26 +0000 (14:57 -0300)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Tue, 11 Jan 2022 21:49:56 +0000 (21:49 +0000)
commit6cc0df2b9c05ca8794fe7e37fabfc8cce8c5d7d7
tree7840ff0f63cb392837ed4e0ec7b93c8fff7daa30
parenteb358bf48fd50e680c8f1abe93f1528a0acfe7bd
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: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Koha/REST/V1/Patrons.pm