[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 15:58:41 CEST 2021


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

--- Comment #5 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
NOTE:
Although this patch significantly reduces the number of warnings on the
collapse. I still had some when I sorted on title too. It seems that it does
not occur on the other fields as author etc. Not sure why. Caching?

[2021/06/14 13:06:59] [WARN] L272title-title at
/usr/share/koha/opac/opac-shelves.pl line 272.
[2021/06/14 13:06:59] [WARN] DBIx::Class::ResultSet::_construct_results():
Unable to properly collapse has_many results in iterator mode due to order
criteria - performed an eager cursor slurp underneath. Consider using ->all()
instead at /usr/share/koha/Koha/Objects.pm line 335

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


More information about the Koha-bugs mailing list