From 9eba7dc594fc0d4698da5e791d5f6f8682b2712a Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Mon, 28 Sep 2009 09:51:10 +0200 Subject: [PATCH] Moving item : no need for ModOrder, as the itemnumber now stays the same Conflicts solved cataloguing/moveitem.pl Signed-off-by: Henri-Damien LAURENT --- cataloguing/moveitem.pl | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/cataloguing/moveitem.pl b/cataloguing/moveitem.pl index 0f842ca262..2aecfffdab 100755 --- a/cataloguing/moveitem.pl +++ b/cataloguing/moveitem.pl @@ -75,18 +75,7 @@ if ($barcode && $biblionumber) { my $moveresult = MoveItemFromBiblio($itemnumber, $frombiblionumber, $biblionumber); if ($moveresult) { - my $order = GetOrderFromItemnumber($itemnumber); - if ($order){ - $order->{'biblionumber'} = $biblionumber; - ModOrder($order); - my $orderitem = { - ordernumber => $order->{'ordernumber'}, - itemnumber => $itemnumber, - newitemnumber => $itemnumber, - }; - ModOrderItem($orderitem); - } - $template->param(success => 1); + $template->param(success => 1); } else { $template->param(error => 1, errornonewitem => 1); -- 2.39.5