https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27855
Martin Renvoize <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #117687|0 |1 is obsolete| | --- Comment #16 from Martin Renvoize <[email protected]> --- Created attachment 117692 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=117692&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 <[email protected]> Signed-off-by: Martin Renvoize <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
