[Koha-bugs] [Bug 29099] Add support for item bundles in the inventory tool

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 22 15:09:20 CET 2023


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

--- Comment #9 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
[1] The following constructs look quite complicated and does not work:
-my $schema = Koha::Database->new()->schema();
-my $item_bundles_rs = Koha::Items->search(
-    {
-        'item_bundles_hosts.item' => { '!=' => undef },
-    },
-    {
-        join => 'item_bundles_hosts',
-        group_by => 'itemnumber',
-    }
-);
-
-my @item_bundles = $item_bundles_rs->as_list;

I am adding a follow-up as proposal to change this code.

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


More information about the Koha-bugs mailing list