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

--- Comment #37 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 209027
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=209027&action=edit
Bug 29099: Improve bundle host query and POD consistency

Replace Koha::Item::Bundles GROUP BY approach with a direct Koha::Items
query for the hosts of bundles, eliminating the host_item() intermediate
call and reducing query depth from 1+2N to 1+N per bundle in the dropdown.

The hosts are selected with a subquery on item_bundles.host rather than
joining and grouping on me.itemnumber: the join form selected all the
items columns while grouping by one, which fails with "'me.biblionumber'
isn't in GROUP BY" when ONLY_FULL_GROUP_BY is in effect (MariaDB).

Also corrects =head3 to =head2 for object_class in Koha::Item::Bundles.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to