]> git.koha-community.org Git - koha.git/commit
Bug 28480: Add q parameters for GET /patrons
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 28 May 2021 11:34:29 +0000 (08:34 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 23 Jun 2021 13:09:55 +0000 (15:09 +0200)
commit0efdb1bb7a364db487b5bc7c692dc728d7b927fe
treeada0972463d3b38de407ce1bb82c32356d64808b
parente188b5c89968af20c3adc543ea098995d42f5e2b
Bug 28480: Add q parameters for GET /patrons

This patch adds the q query parameters to the route.

To test:
1. Try the route with the following query parameter:
   q={"patron_id":2}
   i.e. GET /api/v1/patrons?q={"patron_id":2}
=> FAIL: You get a bad request respose
2. Apply this patch
3. Restart all
4. Repeat 1
=> SUCCESS: You get the patron
5. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
api/v1/swagger/paths/patrons.json