[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
Mon Mar 6 15:39:46 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33080
Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #147736|0 |1
is obsolete| |
--- Comment #18 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 147790
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147790&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!
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list