| Lines 572-578
          foreach my $biblionumber (@biblionumbers) {
      
      
        Link Here | 
        
          | 572 |                         $item->{pickup_locations_code} = 'all'; | 572 |                         $item->{pickup_locations_code} = 'all'; | 
        
          | 573 |                     } else { | 573 |                     } else { | 
        
          | 574 |                         my $arr_locations = Koha::Items->find($itemnumber) | 574 |                         my $arr_locations = Koha::Items->find($itemnumber) | 
          
            
              | 575 |                                     ->pickup_locations( { patron => $patron } ); | 575 |                                     ->pickup_locations( { patron => $patron } )->as_list(); | 
        
          | 576 |  | 576 |  | 
        
          | 577 |                         $item->{pickup_locations} = join( ', ', | 577 |                         $item->{pickup_locations} = join( ', ', | 
        
          | 578 |                             map { $_->unblessed->{branchname} } @$arr_locations); | 578 |                             map { $_->unblessed->{branchname} } @$arr_locations); | 
            
              | 579 | -  |  |  |