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

(-)a/Koha/ILL/Backend/Standard.pm (-5 / +13 lines)
Lines 1058-1065 sub _openurl_to_ill { Link Here
1058
        volume  => 'volume',
1058
        volume  => 'volume',
1059
        isbn    => 'isbn',
1059
        isbn    => 'isbn',
1060
        issn    => 'issn',
1060
        issn    => 'issn',
1061
        rft_id  => 'doi',
1062
        id      => 'doi',
1063
        doi     => 'doi',
1061
        doi     => 'doi',
1064
        year    => 'year',
1062
        year    => 'year',
1065
        title   => 'title',
1063
        title   => 'title',
Lines 1097-1104 sub _openurl_to_ill { Link Here
1097
            # Otherwise, pass it through untransformed and maybe move it
1095
            # Otherwise, pass it through untransformed and maybe move it
1098
            # to our custom parameters array
1096
            # to our custom parameters array
1099
            if ( !exists $ignore->{$meta_key} ) {
1097
            if ( !exists $ignore->{$meta_key} ) {
1100
                push @{$custom_key},   $meta_key;
1098
                if ($meta_key eq 'id' || $meta_key eq 'rft_id') {
1101
                push @{$custom_value}, $params->{other}->{$meta_key};
1099
                    if ( $params->{other}->{$meta_key} =~ /:/ ) {
1100
                        my ( $k, $v ) = split /:/, $params->{other}->{$meta_key}, 2;
1101
                        if ( defined $k && defined $v ) {
1102
                            $return->{ lc $k } = $v;
1103
                        }
1104
                    } else {
1105
                        $return->{doi} = $params->{other}->{$meta_key};
1106
                    }
1107
                }else{
1108
                    push @{$custom_key},   $meta_key;
1109
                    push @{$custom_value}, $params->{other}->{$meta_key};
1110
                }
1102
            } else {
1111
            } else {
1103
                $return->{$meta_key} = $params->{other}->{$meta_key};
1112
                $return->{$meta_key} = $params->{other}->{$meta_key};
1104
            }
1113
            }
1105
- 

Return to bug 38928