https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43102 --- Comment #27 from Paul Derscheid <paul.derscheid@lmscloud.de> --- Created attachment 210221 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210221&action=edit Bug 43102: (QA follow-up) Trim itemnumber subqueries to a single column * Moves the itemnumber subqueries into one helper that selects only the itemnumber column, they carried every item column * Wraps the subquery in a derived table with as_subselect_rs, MariaDB doesn't allow LIMIT inside an IN subquery * Keeps the inherited ORDER BY so a limited resultset still selects the same items, the database ignores it when there is no LIMIT Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> -- You are receiving this mail because: You are watching all bug changes.