[Koha-bugs] [Bug 33080] Add helpers that return result_set for further processing
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Mar 3 20:57:31 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33080
--- Comment #15 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 147736
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147736&action=edit
Bug 33080: Add small warpper helper to call add_pagination_headers
This patch introduces a small helper that uses the stashed values in
`search_rs` to properly build the pagination headers based on the
resultset.
To test:
1. Run all the API tests and make sure nothing breaks
2. Run:
$ ktd --shell
$ t/db_dependent/Koha/REST/Plugin/Pagination.t
=> SUCCESS: Tests pass!
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list