[Bug 18103] New: REST API: Add endpoint for patron status / blocks
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18103 Bug ID: 18103 Summary: REST API: Add endpoint for patron status / blocks Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Websites, Mailing Lists, etc Assignee: wizzyrea@gmail.com Reporter: lari.taskula@jns.fi QA Contact: testopia@bugs.koha-community.org Add endpoint that returns information on patron's debarments / excessive fines etc. This endpoint can be used to find out patron's ability for checkouts and holds. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18103 Lari Taskula <lari.taskula@jns.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|wizzyrea@gmail.com |koha-bugs@lists.koha-commun | |ity.org Component|Websites, Mailing Lists, |Web services |etc | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18103 Lari Taskula <lari.taskula@jns.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |lari.taskula@jns.fi |ity.org | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18103 --- Comment #1 from Lari Taskula <lari.taskula@jns.fi> --- Created attachment 60159 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=60159&action=edit Bug 18013: Add patronstatus to Swagger This patch adds the Swagger definition for patronstatus. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18103 --- Comment #2 from Lari Taskula <lari.taskula@jns.fi> --- Created attachment 60160 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=60160&action=edit Bug 18013: 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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18103 --- Comment #3 from Lari Taskula <lari.taskula@jns.fi> --- Tests are still failing due to data type changes. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18103 --- Comment #4 from Lari Taskula <lari.taskula@jns.fi> --- Created attachment 60161 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=60161&action=edit Bug 18103: Add patronstatus to Swagger This patch adds the Swagger definition for patronstatus. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18103 --- Comment #5 from Lari Taskula <lari.taskula@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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18103 Lari Taskula <lari.taskula@jns.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #60159|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18103 Lari Taskula <lari.taskula@jns.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #60160|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18103 --- Comment #6 from Lari Taskula <lari.taskula@jns.fi> --- Corrected invalid Bug number. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18103 Lari Taskula <lari.taskula@jns.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |16826 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16826 [Bug 16826] REST API: Add API routes for getting item availability and holdability -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18103 Mirko Tietgen <mirko@abunchofthings.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mirko@abunchofthings.net --- Comment #7 from Mirko Tietgen <mirko@abunchofthings.net> --- Is this ready to be tested? Please set the status to "Needs signoff" then. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18103 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Web services |REST api QA Contact|testopia@bugs.koha-communit | |y.org | CC| |jonathan.druart@bugs.koha-c | |ommunity.org -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org