[Koha-bugs] [Bug 28561] Order_by triggers a DBIx warning Unable to properly collapse has_many results

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 14 13:57:03 CEST 2021


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

--- Comment #1 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
This query in opac/opac-shelves.pl contains the crux:

            my $contents = $shelf->get_contents->search(
                {},
                {
                    prefetch => [ { 'biblionumber' => { 'biblioitems' =>
'items' } } ],
                    page     => $page,
                    rows     => $rows,
                    order_by => { "-$direction" => $order_by },
                }
            );

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


More information about the Koha-bugs mailing list