]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 2 Aug 2021 20:25:27 +0000 (10:25 -1000)
commit345740c0d492bcb7fdbf58578b1e1e47502ddb64
treec77854011232d9380a5266c614af40fafe07497b
parentcc0d0028e92ae07117b6307228ab88297b861512
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 3d2d48a8d8d8601928439aeab4f3c2daeff52c39)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
api/v1/swagger/paths/patrons.json