Lines 304-310
sub ModItemFromMarc {
Link Here
|
304 |
my $item_object = Koha::Items->find($itemnumber); |
304 |
my $item_object = Koha::Items->find($itemnumber); |
305 |
my $item = TransformMarcToKoha( $localitemmarc, $frameworkcode, 'items' ); |
305 |
my $item = TransformMarcToKoha( $localitemmarc, $frameworkcode, 'items' ); |
306 |
|
306 |
|
307 |
my $has_permanent_location = $item->{permanent_location}; |
307 |
my $has_permanent_location = exists $item->{permanent_location}; |
308 |
|
308 |
|
309 |
# Retrieving the values for the fields that are not linked |
309 |
# Retrieving the values for the fields that are not linked |
310 |
my @mapped_fields = Koha::MarcSubfieldStructures->search( |
310 |
my @mapped_fields = Koha::MarcSubfieldStructures->search( |
311 |
- |
|
|