|
Lines 67-74
if($ok){
Link Here
|
| 67 |
# get biblio information.... |
67 |
# get biblio information.... |
| 68 |
my $biblionumber = $subs->{'bibnum'}; |
68 |
my $biblionumber = $subs->{'bibnum'}; |
| 69 |
my ($count2,@bibitems) = GetBiblioItemByBiblioNumber($biblionumber); |
69 |
my ($count2,@bibitems) = GetBiblioItemByBiblioNumber($biblionumber); |
| 70 |
my @itemresults = GetItemsInfo( $subs->{bibnum} ); |
70 |
my @itemresults = GetItemsInfo( $biblionumber ); |
| 71 |
my $branch = scalar @itemresults ? $itemresults[0]->{'holdingbranch'} : $subs->{branchcode}; |
71 |
my $branch = @itemresults ? $itemresults[0]->{'holdingbranch'} : $subs->{branchcode}; |
| 72 |
my $branchname = Koha::Libraries->find($branch)->branchname; |
72 |
my $branchname = Koha::Libraries->find($branch)->branchname; |
| 73 |
|
73 |
|
| 74 |
if (C4::Context->preference('RoutingListAddReserves')){ |
74 |
if (C4::Context->preference('RoutingListAddReserves')){ |
| 75 |
- |
|
|