Bug 33080: Adapt other use-cases
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 7 Mar 2023 11:26:51 +0000 (08:26 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 21 Mar 2023 07:42:00 +0000 (07:42 +0000)
commit1e94e279c444ef1cdf440cad8f3a0eda72c835e9
tree0ec192f2faccd267a00fd207bda605daa801af21
parent5455fcd3718677b0a7fb33ece113d95fe5d9bc1e
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>
(cherry picked from commit 347d8787dc9aa69d6a3265ef61d42014290720f2)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
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