From f59484df2246c0ee11c5d44f2dca762908864fe8 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Tue, 19 Sep 2017 12:58:12 +0100 Subject: [PATCH] Bug 19340: Read basket details of transfer partner Details of the basket an order is tranferred to or from are displayed in the basket display. Unfortunately these details were not being read so the display incorrectly showed the details of the current owning basket. Signed-off-by: David Bourgault Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart --- acqui/basket.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/acqui/basket.pl b/acqui/basket.pl index 1f97d18efc..071961817f 100755 --- a/acqui/basket.pl +++ b/acqui/basket.pl @@ -504,6 +504,7 @@ sub get_order_infos { foreach my $key (qw(transferred_from transferred_to)) { if ($line{$key}) { my $order = GetOrder($line{$key}); + my $basket = GetBasket($order->{basketno}); my $bookseller = Koha::Acquisition::Booksellers->find( $basket->{booksellerid} ); $line{$key} = { order => $order, -- 2.39.5