https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33080

Martin Renvoize <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #147736|0                           |1
        is obsolete|                            |

--- Comment #18 from Martin Renvoize <[email protected]> ---
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 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to