Bug 33080: Adapt other use-cases
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 7 Mar 2023 11:26:51 +0000 (08:26 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 10 Mar 2023 15:04:07 +0000 (12:04 -0300)
commit347d8787dc9aa69d6a3265ef61d42014290720f2
tree07fd1c1310ee3b2437472751704c0224ac4ca907
parentad83d2e07d3c2c28e962b1a2e8d04b6f25a4a868
Bug 33080: Adapt other use-cases

This patch adapts the other controllers that rely on
add_pagination_headers outside of `objects.search`.

To test:
1. Apply this patchset
2. Run:
   $ ktd --shell
   $ prove t/db_dependent/api/v1/* \
           t/db_dependent/Koha/REST/Plugin/Objects.t \
           t/db_dependent/Koha/REST/Plugin/Pagination.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/REST/V1/Acquisitions/Orders.pm
Koha/REST/V1/ERM/EHoldings/Packages/EBSCO.pm
Koha/REST/V1/ERM/EHoldings/Resources/EBSCO.pm
Koha/REST/V1/ERM/EHoldings/Titles/EBSCO.pm