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 eissn 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 1353-1360 sub add_or_update_attributes { Link Here
1353
                # Skip undefined or empty values
1353
                # Skip undefined or empty values
1354
                next unless defined $value && $value ne '';
1354
                next unless defined $value && $value ne '';
1355
1355
1356
                my $attr = $self->extended_attributes->find( { type => $type } );
1356
                my $attr = $self->extended_attributes->find( { backend => $self->backend, type => $type } );
1357
1358
                if ($attr) {
1357
                if ($attr) {
1359
1358
1360
                    # Update existing attribute only if value changed
1359
                    # Update existing attribute only if value changed
1361
- 

Return to bug 39934