]> git.koha-community.org Git - koha.git/commit
Bug 16271: Allow more filters on /api/v1/holds
authorJulian Maurice <julian.maurice@biblibre.com>
Fri, 15 Apr 2016 08:49:29 +0000 (10:49 +0200)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 1 Aug 2016 09:11:13 +0000 (11:11 +0200)
commit2590cb82586edd6a668ffd5a555c8da1f93b8ab6
tree9ef5d3ef15eb3a93c366cc51e593484bf66aa557
parentf6c5e5c16a57b7990e26e48bec7d4afa7a08d7c4
Bug 16271: Allow more filters on /api/v1/holds

borrowernumber parameter is no longer required and you can filter on
every column of reserves table

Some example requests
- GET /api/v1/holds
- GET /api/v1/holds?biblionumber=123
- GET /api/v1/holds?borrowernumber=456
- GET /api/v1/holds?priority=0&found=W

Signed-off-by: Benjamin Rokseth <benjamin.rokseth@kul.oslo.kommune.no>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 975be0aef051d1131c39a02cbf7b6efe2f67d113)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Koha/REST/V1/Hold.pm
api/v1/swagger.json
t/db_dependent/api/v1/holds.t