[Koha-bugs] [Bug 18103] REST API: Add endpoint for patron status / blocks

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 13 17:12:22 CET 2017


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

--- Comment #5 from Lari Taskula <lari.taskula at jns.fi> ---
Created attachment 60162
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=60162&action=edit
Bug 18103: Add patronstatus operation to controller

This patch adds patronstatus operation to Koha::REST::V1::Patron.

Also adds new method Koha::Patron->status_not_ok that returns an array of
Koha::Exceptions if there are some issues with patron status.

To test:
1. prove t/db_dependent/Koha/Patrons.t
2. prove t/db_dependent/api/v1/patrons.t

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


More information about the Koha-bugs mailing list