]> git.koha-community.org Git - koha.git/commit
Bug 21201: Replace C4::Items::GetItemnumbersForBiblio calls
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 6 Aug 2018 19:40:44 +0000 (16:40 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 31 Aug 2018 10:44:04 +0000 (10:44 +0000)
commit02633edc7de5f92d1fd69747b1fbe9ae9b38b891
treed587a46b40e1eff5c03ce1fe09e4ec60a27334b4
parenta42af283176f652a330db54711c64b97ad8faefc
Bug 21201: Replace C4::Items::GetItemnumbersForBiblio calls

Those calls to C4::Items::GetItemnumbersForBiblio can be replaced with
    my @itemnumbers = Koha::Items->search({ biblionumber => $biblionumber})->get_column("itemnumber")

Test plan:
- Use the GetAvailability service of ILS-DI
- Try to place a hold on an item that is available and another one
- Use the batch record deletion tool to remove record with and without items.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/ILSDI/Services.pm
C4/Reserves.pm
C4/SIP/ILS/Patron.pm
cataloguing/additem.pl
tools/batch_delete_records.pl