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