From 4d8d39997907b21e995d9148587b57a7478b259a 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 --- acqui/basket.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/acqui/basket.pl b/acqui/basket.pl index 1f97d18..0719618 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.7.4