[Koha-bugs] [Bug 27855] Allow embedding extended_attributes on /patrons routes
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 4 12:41:24 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27855
--- Comment #7 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 117683
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=117683&action=edit
Bug 27855: Make GET /patrons/:patron_id use objects.find
This patch makes the route for fetching a patron use the objects.find
helper instead of a plain Koha::Patrons->find. This gives the controller
embedding superpowers.
To test, we just need to check nothing broke:
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: Kyle M Hall <kyle at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list