Bug 19250

Summary: Add pagination to /acquisitions/vendors
Product: Koha Reporter: Tomás Cohen Arazi (tcohen) <tomascohen>
Component: REST APIAssignee: 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
The vendors listing endpoint should provide a way to have pagination. Should be straightforward with bug 19196.
Comment 1 Tomás Cohen Arazi (tcohen) 2017-11-23 20:27:03 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.
Comment 2 Maksim Sen 2018-04-13 19:20:42 UTC
Could I have a test plan to sign off this bug?
Comment 3 Tomás Cohen Arazi (tcohen) 2018-04-13 19:28:53 UTC
(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
Comment 4 Tomás Cohen Arazi (tcohen) 2021-01-27 11:05:19 UTC

*** This bug has been marked as a duplicate of bug 24321 ***