From 6b29bb866b938643c446fdc398826c16ddb2eea3 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Mon, 23 Nov 2009 21:35:07 +0100 Subject: [PATCH] followup da49fc77df9 enh 3736 --- serials/routing-preview.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/serials/routing-preview.pl b/serials/routing-preview.pl index 2ec03002ef..5b9b5b0de9 100755 --- a/serials/routing-preview.pl +++ b/serials/routing-preview.pl @@ -49,6 +49,10 @@ my ($template, $loggedinuser, $cookie); if($ok){ # get biblio information.... my $biblio = $subs->{'biblionumber'}; + my ($count2,@bibitems) = GetBiblioItemByBiblioNumber($biblio); + my @itemresults = GetItemsInfo($subs->{'biblionumber'}, 'intra'); + my $branch = $itemresults[0]->{'holdingbranch'}; + my $branchname = GetBranchName($branch); if (C4::Context->preference('RoutingListAddReserves')){ # get existing reserves ..... @@ -59,10 +63,6 @@ if($ok){ $count--; } } - my ($count2,@bibitems) = GetBiblioItemByBiblioNumber($biblio); - my @itemresults = GetItemsInfo($subs->{'biblionumber'}, 'intra'); - my $branch = $itemresults[0]->{'holdingbranch'}; - my $branchname = GetBranchName($branch); my $const = 'o'; my $notes; my $title = $subs->{'bibliotitle'}; -- 2.39.5