diff --git a/serials/routing-preview.pl b/serials/routing-preview.pl index 7a33010d10..9ccc30fe1d 100755 --- a/serials/routing-preview.pl +++ b/serials/routing-preview.pl @@ -100,7 +100,7 @@ my @results; my $data; for(my $i=0;$i<$routing;$i++){ $data=GetMember($routinglist[$i]->{'borrowernumber'},'borrowernumber'); - $data->{'location'}=$data->{'streetaddress'}; + $data->{'location'}=$data->{'branchcode'}; $data->{'name'}="$data->{'firstname'} $data->{'surname'}"; $data->{'routingid'}=$routinglist[$i]->{'routingid'}; $data->{'subscriptionid'}=$subscriptionid; diff --git a/serials/routing.pl b/serials/routing.pl index d84076a490..63328b927d 100755 --- a/serials/routing.pl +++ b/serials/routing.pl @@ -106,7 +106,7 @@ my @results; my $data; for(my $i=0;$i<$routing;$i++){ $data=GetMember($routinglist[$i]->{'borrowernumber'},'borrowernumber'); - $data->{'location'}=$data->{'streetaddress'}; + $data->{'location'}=$data->{'branchcode'}; $data->{'name'}="$data->{'firstname'} $data->{'surname'}"; $data->{'routingid'}=$routinglist[$i]->{'routingid'}; $data->{'subscriptionid'}=$subscriptionid;