Summary: | Add pagination to /acquisitions/vendors | ||
---|---|---|---|
Product: | Koha | Reporter: | Tomás Cohen Arazi (tcohen) <tomascohen> |
Component: | REST API | Assignee: | Tomás Cohen Arazi (tcohen) <tomascohen> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | maksim.sen |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
URL: | https://wiki.koha-community.org/wiki/Acquisitions_vendors_endpoint_RFC | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | Small patch | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
Bug Depends on: | 19686 | ||
Bug Blocks: | 19757 | ||
Attachments: | Bug 19250: Add /acquisitions/vendors pagination |
Description
Tomás Cohen Arazi (tcohen)
2017-09-04 18:38:50 UTC
Created attachment 69317 [details] [review] Bug 19250: Add /acquisitions/vendors pagination This patch makes the /acquisitions/vendors endpoint paginated and handle the new special params introduced by 19410: _match, _order_by_, _page and _per_page. To do so, the OpenAPI spec is updated with the new parameters, and _to_model is rewritten to avoid autovivification, as required by the extension of the objects.search helper, introduced by bug 19686. Could I have a test plan to sign off this bug? (In reply to Maksim Sen from comment #2) > Could I have a test plan to sign off this bug? Hi, I'm working on a broader rewrite of this endpoint implementing the voted RFC. https://wiki.koha-community.org/wiki/Acquisitions_vendors_endpoint_RFC |