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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 25 Feb 2022 00:35:36 +0000 (14:35 -1000)
commitfeb49d5088c48c53cd17682b7ac64fd952f466e4
tree64486241d2891ab0660ff26c7c52666d8406d6be
parent07893d66e8d9194bf2ed6cf90649f7e70ad9d9fa
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>
Koha/REST/V1/Biblios.pm
t/db_dependent/api/v1/biblios.t