Summary: | REST API: Add pagination to /api/v1/holds | ||
---|---|---|---|
Product: | Koha | Reporter: | Emmi Takkinen <emmi.takkinen> |
Component: | REST API | Assignee: | Emmi Takkinen <emmi.takkinen> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | emmi.takkinen, josef.moravec |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Attachments: | Bug 23358: Add pagination to /api/v1/holds |
Description
Emmi Takkinen
2019-07-23 08:29:10 UTC
Created attachment 91727 [details] [review] 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 |