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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
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/

Reply via email to