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

(-)a/Koha/ILL/Backend/Standard.pm (-5 / +13 lines)
Lines 1041-1048 sub _openurl_to_ill { Link Here
1041
        volume  => 'volume',
1041
        volume  => 'volume',
1042
        isbn    => 'isbn',
1042
        isbn    => 'isbn',
1043
        issn    => 'issn',
1043
        issn    => 'issn',
1044
        rft_id  => 'doi',
1045
        id      => 'doi',
1046
        doi     => 'doi',
1044
        doi     => 'doi',
1047
        year    => 'year',
1045
        year    => 'year',
1048
        title   => 'title',
1046
        title   => 'title',
Lines 1080-1087 sub _openurl_to_ill { Link Here
1080
            # Otherwise, pass it through untransformed and maybe move it
1078
            # Otherwise, pass it through untransformed and maybe move it
1081
            # to our custom parameters array
1079
            # to our custom parameters array
1082
            if ( !exists $ignore->{$meta_key} ) {
1080
            if ( !exists $ignore->{$meta_key} ) {
1083
                push @{$custom_key},   $meta_key;
1081
                if ($meta_key eq 'id' || $meta_key eq 'rft_id') {
1084
                push @{$custom_value}, $params->{other}->{$meta_key};
1082
                    if ( $params->{other}->{$meta_key} =~ /:/ ) {
1083
                        my ( $k, $v ) = split /:/, $params->{other}->{$meta_key}, 2;
1084
                        if ( defined $k && defined $v ) {
1085
                            $return->{ lc $k } = $v;
1086
                        }
1087
                    } else {
1088
                        $return->{doi} = $params->{other}->{$meta_key};
1089
                    }
1090
                }else{
1091
                    push @{$custom_key},   $meta_key;
1092
                    push @{$custom_value}, $params->{other}->{$meta_key};
1093
                }
1085
            } else {
1094
            } else {
1086
                $return->{$meta_key} = $params->{other}->{$meta_key};
1095
                $return->{$meta_key} = $params->{other}->{$meta_key};
1087
            }
1096
            }
1088
- 

Return to bug 38928