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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Sun, 20 Mar 2022 14:32:46 +0000 (14:32 +0000)
commit7a0bd005965b815065846aa50021a96d6919a1db
tree21523fa8fd385f98873d38ec3db13df3c5f42404
parent86beecce8139d5a8cb7c44a90517bd61660729bf
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>
(cherry picked from commit 4b24f538bd2ea9b4660cda528e90d7576b7d3870)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Koha/REST/V1/Biblios.pm
t/db_dependent/api/v1/biblios.t