[Koha-bugs] [Bug 23358] REST API: Add pagination to /api/v1/holds

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 23 11:56:06 CEST 2019


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

Emmi Takkinen <emmi.takkinen at outlook.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emmi.takkinen at outlook.com

--- Comment #1 from Emmi Takkinen <emmi.takkinen at outlook.com> ---
Created attachment 91727
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91727&action=edit
Bug 23358: Add pagination to /api/v1/holds

Allow /api/v1/holds to use _page and _per_page parameters.

Test plan:
- Fetch http://koha/api/v1/holds to check if you have results
- Fetch api/v1/holds?_per_page=1&_page=1 and check that
only first result is returned
- Fetch api/v1/holds?_per_page=1&_page=2 and check that
only second result is returned
- Repeat above with different values for each parameters
and check that result is correct

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list