Skip to content
Snippets Groups Projects
Commit d3f5816b authored by André Lahmann's avatar André Lahmann Committed by Robert Lange
Browse files

refs #21701 [vufind] Redi-Resolver - minor fixes (#2419)

- add missing array indexes to parseDOI return array
- set service_type to getDOI
parent 3ac2935e
Branches
Tags
No related merge requests found
......@@ -142,7 +142,9 @@ class Redi extends AbstractBase
'title' => $doiTerm->item($i)->textContent
. $doiDefinition->item($i)->textContent,
'href' => $href,
'service_type' => 'getFullTxt',
'access' => 'unknown',
'coverage' => null,
'service_type' => 'getDOI',
];
}
}
......
......@@ -81,7 +81,9 @@ class RediTest extends \VuFindTest\Unit\TestCase
0 => [
'title' => "DOI:10.1007/s11606-014-2915-9",
'href' => "http://www-fr.redi-bw.de/links/?rl_site=ubl&rl_action=link&rl_link_target=citation&rl_link_name=doi&rl_citation=9443914d0e261c0c1f6a3fd8151213c1d4cec05f5d3053097da6fa5597bbb9d7",
'service_type' => "getFullTxt",
'access' => 'unknown',
'coverage' => null,
'service_type' => "getDOI",
],
1 => [
'title' => "Zum Volltext (via SpringerLink)",
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment