[Koha-bugs] [Bug 24228] New: Add a parameter to recursively embed objects in Koha::Object(s)->to_api
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Dec 12 14:02:17 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24228
Bug ID: 24228
Summary: Add a parameter to recursively embed objects in
Koha::Object(s)->to_api
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: tomascohen at gmail.com
QA Contact: testopia at bugs.koha-community.org
Using a syntax similar to MongoDB's dot notation, we need a way to specify
which relations should be followed for recursively embedding objects. For
example:
$patron->to_api({ embed => { checkouts => { 'pickup_location' => 1 }, credits
=> 1 } })
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list