[Koha-bugs] [Bug 28480] GET /patrons missing q parameters on the spec

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 28 13:41:02 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28480

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 121475
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121475&action=edit
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 at theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list