Skip to content
Snippets Groups Projects
Commit 3515c31b authored by Dorian Merz's avatar Dorian Merz
Browse files

refs #13819 CHANGES in MASTER

* modifies OnlineEdition link target to Holdings tab
parent 0ba6769c
No related merge requests found
...@@ -476,7 +476,7 @@ class Record extends \VuFind\View\Helper\Root\Record ...@@ -476,7 +476,7 @@ class Record extends \VuFind\View\Helper\Root\Record
foreach ($this->driver->tryMethod('getAdditionals') as $add) { foreach ($this->driver->tryMethod('getAdditionals') as $add) {
if (isset($add['identifier']) && in_array($add['identifier'],$online_keys)) { if (isset($add['identifier']) && in_array($add['identifier'],$online_keys)) {
if (isset($add['id'])) { if (isset($add['id'])) {
$link = $recordLinkHelper->getRecordLink($add['id'], 'id'); $link = $recordLinkHelper->getTabUrl($add['id'], 'Holdings');
if (!empty($link)) { if (!empty($link)) {
$add['link'] = $link; $add['link'] = $link;
$onlineEditions[] = $add; $onlineEditions[] = $add;
......
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