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>
This commit is contained in:
parent
7b00a5ce88
commit
3d2d48a8d8
1 changed files with 6 additions and 0 deletions
|
@ -418,6 +418,12 @@
|
|||
"$ref": "../parameters.json#/page"
|
||||
}, {
|
||||
"$ref": "../parameters.json#/per_page"
|
||||
}, {
|
||||
"$ref": "../parameters.json#/q_param"
|
||||
}, {
|
||||
"$ref": "../parameters.json#/q_body"
|
||||
}, {
|
||||
"$ref": "../parameters.json#/q_header"
|
||||
}],
|
||||
"responses": {
|
||||
"200": {
|
||||
|
|
Loading…
Reference in a new issue