diff --git a/tools/inventory.pl b/tools/inventory.pl index 8e735d40e4..86ccfb340d 100755 --- a/tools/inventory.pl +++ b/tools/inventory.pl @@ -504,7 +504,7 @@ sub additemtoresults { my $fc = $item->{'frameworkcode'} || ''; # Populating with authorised values description - foreach my $field (qw/ location notforloan itemlost damaged withdrawn /) { + foreach my $field (qw/ location notforloan itemlost damaged withdrawn ccode /) { my $av = Koha::AuthorisedValues->get_description_by_koha_field( { frameworkcode => $fc, kohafield => "items.$field", authorised_value => $item->{$field} } ); if ( $av and defined $item->{$field} and defined $av->{lib} ) {