[Koha-bugs] [Bug 24554] New: Only embed relations from Koha::Biblio in to_api

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 31 13:05:00 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24554

            Bug ID: 24554
           Summary: Only embed relations from Koha::Biblio in to_api
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: REST API
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: tomascohen at gmail.com

The current implemented behaviour of this method (fallback to the biblioitems
relations) breaks using it with bug 24538. On fixing it, I noticed the method
is quite over-engineered.

As biblioitems is not a real entity on the API and we are not going to add
related tables to bilbioitems (most probably get it merged into biblio) we
don't need the pass-through of embeds into the biblioitem object.

This makes counts work, and also makes sense :-D

-- 
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