From b1dbf771c5f18448bb6a1566983dff60d1e14f7b Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Mon, 7 Mar 2016 16:19:12 +0100 Subject: [PATCH] Bug 15998 - svc/holds: use holdingbranch instead of holding_branch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Frédéric Demians --- svc/holds | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/svc/holds b/svc/holds index 50ae385..4744739 100755 --- a/svc/holds +++ b/svc/holds @@ -124,8 +124,8 @@ while ( my $h = $holds_rs->next() ) { $hold->{date_sent} = output_pref( dt_from_string($transferred_when) ); $hold->{from_branch} = GetBranchName($transferred_from); } - elsif ( $item->holding_branch() && $item->holding_branch()->branchcode() ne - $h->branch()->branchcode() ) + elsif ( $item->holdingbranch() && $item->holdingbranch()->branchcode() ne + $h->branchcode()->branchcode() ) { $hold->{not_transferred} = 1; $hold->{not_transferred_by} = $h->item()->holdingbranch()->branchname(); -- 2.7.1