Bug 38928: (QA follow-up)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit ce15eacc5e)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
9c1de15a5f
commit
72f202dfad
|
|
@ -1095,7 +1095,7 @@ sub _openurl_to_ill {
|
|||
# Otherwise, pass it through untransformed and maybe move it
|
||||
# to our custom parameters array
|
||||
if ( !exists $ignore->{$meta_key} ) {
|
||||
if ($meta_key eq 'id' || $meta_key eq 'rft_id') {
|
||||
if ( $meta_key eq 'id' || $meta_key eq 'rft_id' ) {
|
||||
if ( $params->{other}->{$meta_key} =~ /:/ ) {
|
||||
my ( $k, $v ) = split /:/, $params->{other}->{$meta_key}, 2;
|
||||
if ( defined $k && defined $v ) {
|
||||
|
|
@ -1104,7 +1104,7 @@ sub _openurl_to_ill {
|
|||
} else {
|
||||
$return->{doi} = $params->{other}->{$meta_key};
|
||||
}
|
||||
}else{
|
||||
} else {
|
||||
push @{$custom_key}, $meta_key;
|
||||
push @{$custom_value}, $params->{other}->{$meta_key};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue