https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24228
Kyle M Hall <k...@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #96686|0 |1 is obsolete| | Attachment #96687|0 |1 is obsolete| | --- Comment #15 from Kyle M Hall <k...@bywatersolutions.com> --- Created attachment 96954 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96954&action=edit Bug 24228: Add parameters to Koha::Object(s)->to_api to automatically embed objects This patch makes Koha::Object(s)->to_api have an 'embeds' parameter that using dot notation (e.g. resource.related_resource.another_one) allows embedding objects recursively. To test: 1. Apply this patch 2. prove t/db_dependent/Koha/Object.t Signed-off-by: Tomas Cohen Arazi <tomasco...@theke.io> Signed-off-by: Agustin Moyano <agustinmoy...@theke.io> Signed-off-by: Kyle M Hall <k...@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/