]> git.koha-community.org Git - koha.git/commit
Bug 28613: Add missing parameters to objects.search-based routes
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 22 Jun 2021 11:52:56 +0000 (08:52 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 29 Oct 2021 15:56:29 +0000 (11:56 -0400)
commit6c2ed45780379a5552d424bbaa22ef3d29c639f1
treede73358a82783700ea1f062ab4aa03c2ae75ed61
parentcc8a49d2e3519efedb178412669a998ffe629225
Bug 28613: Add missing parameters to objects.search-based routes

The objects.search helper provides convenient ways to paginate and a 'q' filter parameter to build complex queries on this Koha::Objects-based routes.

Some routes were created prior to this feature getting introduced. We need to adjust the parameters for all existing objects.search-based routes.

This patch adds that.

The only GET (as in list) routes that would still be missing the
parameters are those about ILL, that are not objects.search based, and
probably need to be rewritten.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
api/v1/swagger/paths/acquisitions_funds.json
api/v1/swagger/paths/acquisitions_vendors.json
api/v1/swagger/paths/advancededitormacros.json
api/v1/swagger/paths/checkouts.json
api/v1/swagger/paths/import_batch_profiles.json
api/v1/swagger/paths/items.json