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

--- Comment #34 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 200210
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200210&action=edit
Bug 29099: Fix item bundle fetch in inventory script

The initial implementation fetched item bundles via a raw DBIC schema
resultset using the non-existent 'ItemsBundle' resultset name and an
incorrect join on 'biblionumber'. The template likewise referenced
fields that do not exist on the item_bundles schema (items_bundle_id,
biblionumber.title).

Replace the raw schema access with Koha::Item::Bundles->search() and
correct the template to use the actual column names: host (the FK
itemnumber of the host item) and host_item->biblio->title for the
display label.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to