Bug 30133: Fix pagination in /biblios/:bibio_id/pickup_locations
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 18 Feb 2022 19:07:02 +0000 (16:07 -0300)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 25 Feb 2022 15:42:13 +0000 (10:42 -0500)
commit4b24f538bd2ea9b4660cda528e90d7576b7d3870
tree82c86135f90328a4ca367b28f725d657a5289534
parenteb5dbb4010c6f95f6ddaf594d8aee22509acec42
Bug 30133: Fix pagination in /biblios/:bibio_id/pickup_locations

This patch does the same thing we did for items on the previous patch,
but for biblios. The tests are almost the same as well.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/biblios.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/REST/V1/Biblios.pm
t/db_dependent/api/v1/biblios.t