[Koha-bugs] [Bug 18862] New: Some DBIx relations from issues table do not seem to work

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 27 17:07:49 CEST 2017


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

            Bug ID: 18862
           Summary: Some DBIx relations from issues table do not seem to
                    work
 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: m.de.rooy at rijksmuseum.nl
        QA Contact: testopia at bugs.koha-community.org

>From report 17698:
my @notes = Koha::Checkouts->search({ 'me.note' => { '!=', undef } }, {
prefetch => [ 'borrower', { item => 'biblionumber' } ] });

I am having problems on the template side. I can access the item and
biblio information about the issue, but not the borrower information.
[Internal server error triggered by AUTOLOAD in Koha::Object.]

Additionally adding 'branch' will trigger a similar error.

What is different with the item relation ??

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list