[Koha-bugs] [Bug 17003] REST API: add route to get checkout's renewability

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 24 07:53:55 CEST 2019


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

Johanna Räisä <johanna.raisa at koha-suomi.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #88262|0                           |1
        is obsolete|                            |

--- Comment #25 from Johanna Räisä <johanna.raisa at koha-suomi.fi> ---
Created attachment 88591
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=88591&action=edit
Bug 17003: (follow-up) Update definitions according to  voted RFC

Test plan:
1) Have some patrons with checkouts, some renewable and some not
renewable
2) Use your favorite API tester and access GET
http://koha.url/api/v1/checkouts/{checkout_id}/allows_renewal
3) Check the response is OK according to voted RFC:
https://wiki.koha-community.org/wiki/Checkouts_endpoint_RFC#Checkout_renewability_2
4) prove t/db_dependent/api/v1/checkouts.t

Signed-off-by: Michal Denar <black23 at gmail.com>

Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Johanna Raisa <johanna.raisa at gmail.com>

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


More information about the Koha-bugs mailing list