View | Details | Raw Unified | Return to bug 18435
Collapse All | Expand All

(-)a/circ/circulation.pl (-1 / +1 lines)
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
(-)a/circ/returns.pl (-2 / +1 lines)
Lines 282-288 if ($barcode) { Link Here
282
282
283
    my $materials = $biblio->{'materials'};
283
    my $materials = $biblio->{'materials'};
284
    my $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({frameworkcode => '', kohafield =>'items.materials', authorised_value => $materials });
284
    my $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({frameworkcode => '', kohafield =>'items.materials', authorised_value => $materials });
285
    $materials = $descriptions->{lib} // '';
285
    $materials = $descriptions->{lib} // $materials;
286
286
287
    $template->param(
287
    $template->param(
288
        title            => $biblio->{'title'},
288
        title            => $biblio->{'title'},
289
- 

Return to bug 18435