From 738ffb504729d139f19afd12cbc37b59e9d1937e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 9 Jul 2021 10:03:26 +0200 Subject: [PATCH] Bug 27526: Fix Add multiple copies This has been moved to Koha::Item->store by bug 27545. Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart --- cataloguing/additem.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index a69ddd1c8d..14e88d1599 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -583,7 +583,6 @@ if ($op eq "additem") { { skip_record_index => 1 } ); $current_item->discard_changes; # Cannot chain discard_changes $current_item = $current_item->unblessed; - set_item_default_location($current_item->{itemnumber}); # We count the item only if it was really added # That way, all items are added, even if there was some already existing barcodes -- 2.39.5