| 
      
            Lines 383-389
          if (@$barcodes) {
      
      
        Link Here
      
     | 
  
        
          | 383 | 
                      #  Get the item title for more information  | 
          383 | 
                      #  Get the item title for more information  | 
        
        
          | 384 | 
                      my $materials = $iteminfo->{'materials'}; | 
          384 | 
                      my $materials = $iteminfo->{'materials'}; | 
        
        
          | 385 | 
                      my $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({ frameworkcode => $getmessageiteminfo->{frameworkcode}, kohafield => 'items.materials', authorised_value => $materials }); | 
          385 | 
                      my $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({ frameworkcode => $getmessageiteminfo->{frameworkcode}, kohafield => 'items.materials', authorised_value => $materials }); | 
        
          
            
              | 386 | 
                          $materials = $descriptions->{lib} // ''; | 
              386 | 
                          $materials = $descriptions->{lib} // $materials; | 
            
        
          | 387 | 
                      $template_params->{additional_materials} = $materials; | 
          387 | 
                      $template_params->{additional_materials} = $materials; | 
        
        
          | 388 | 
                      $template_params->{itemhomebranch} = $iteminfo->{'homebranch'}; | 
          388 | 
                      $template_params->{itemhomebranch} = $iteminfo->{'homebranch'}; | 
        
        
          | 389 | 
           | 
          389 | 
           |