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

(-)a/Koha/ILL/Backend/Standard.pm (-1 / +2 lines)
Lines 677-683 sub migrate { Link Here
677
        $new_request->updated( dt_from_string() );
677
        $new_request->updated( dt_from_string() );
678
        $new_request->store;
678
        $new_request->store;
679
679
680
        my @default_attributes = (qw/title type author year volume isbn issn article_title article_author pages/);
680
        my %core_fields        = %{ _get_core_fields() };
681
        my @default_attributes = keys %core_fields;
681
        my $original_attributes =
682
        my $original_attributes =
682
            $original_request->extended_attributes->search( { type => { '-in' => \@default_attributes } } );
683
            $original_request->extended_attributes->search( { type => { '-in' => \@default_attributes } } );
683
684
(-)a/Koha/ILL/Request.pm (-3 / +1 lines)
Lines 1350-1357 sub add_or_update_attributes { Link Here
1350
                # Skip undefined or empty values
1350
                # Skip undefined or empty values
1351
                next unless defined $value && $value ne '';
1351
                next unless defined $value && $value ne '';
1352
1352
1353
                my $attr = $self->extended_attributes->find( { type => $type } );
1353
                my $attr = $self->extended_attributes->find( { backend => $self->backend, type => $type } );
1354
1355
                if ($attr) {
1354
                if ($attr) {
1356
1355
1357
                    # Update existing attribute only if value changed
1356
                    # Update existing attribute only if value changed
1358
- 

Return to bug 39934