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

--- Comment #41 from David Nind <[email protected]> ---
Created attachment 209047
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=209047&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.

Signed-off-by: David Nind <[email protected]>

-- 
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