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

(-)a/tools/inventory.pl (-2 / +1 lines)
Lines 504-510 sub additemtoresults { Link Here
504
    my $fc = $item->{'frameworkcode'} || '';
504
    my $fc = $item->{'frameworkcode'} || '';
505
505
506
    # Populating with authorised values description
506
    # Populating with authorised values description
507
    foreach my $field (qw/ location notforloan itemlost damaged withdrawn /) {
507
    foreach my $field (qw/ location notforloan itemlost damaged withdrawn ccode /) {
508
        my $av = Koha::AuthorisedValues->get_description_by_koha_field(
508
        my $av = Koha::AuthorisedValues->get_description_by_koha_field(
509
            { frameworkcode => $fc, kohafield => "items.$field", authorised_value => $item->{$field} } );
509
            { frameworkcode => $fc, kohafield => "items.$field", authorised_value => $item->{$field} } );
510
        if ( $av and defined $item->{$field} and defined $av->{lib} ) {
510
        if ( $av and defined $item->{$field} and defined $av->{lib} ) {
511
- 

Return to bug 40691