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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 28 Oct 2021 10:28:30 +0000 (12:28 +0200)
commit3e5046a0294defb07c4033cf53a790ce872d7aa8
treecc53de9301670a02def42ef140605b4f77f24a11
parentda285c5255adfae1c87c849dfcdc695a051ea7fb
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>
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