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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 8 Jul 2016 14:18:19 +0000 (14:18 +0000)
commit975be0aef051d1131c39a02cbf7b6efe2f67d113
tree338ddd5f7bb6d2e08c371b8dd7ec25cc8d50fd5b
parent74ce643b89f3c49f163b9a553c74f45104c6130b
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>
Koha/REST/V1/Hold.pm
api/v1/swagger.json
t/db_dependent/api/v1/holds.t