[Koha-bugs] [Bug 23893] Add ->new_from_api and ->set_from_api methods to Koha::Object
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Dec 10 07:33:27 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23893
Josef Moravec <josef.moravec at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #95315|0 |1
is obsolete| |
--- Comment #14 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 96130
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96130&action=edit
Bug 23893: Use in /patrons
This patch makes the patrons endpoint use the new methods from
Koha::Object.
To test:
1. Apply this patch
2. Run:
$ kshell
k$ prove t/db_dependent/api/v1/patrons.t
=> SUCCESS: Tests pass!
3. Sign off :-D
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list