Skip to content

Commit

Permalink
Map electronic article to OpenURL article
Browse files Browse the repository at this point in the history
  • Loading branch information
David Maus committed Jan 2, 2024
1 parent 6f57724 commit de1b3a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/VuFind/src/VuFind/RecordDriver/DefaultRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -734,9 +734,9 @@ protected function getOpenUrlFormat()
$formats = $this->getFormats();
if (in_array('Book', $formats) || in_array('eBook', $formats)) {
return 'Book';
} elseif (in_array('Article', $formats)) {
} elseif (in_array('Article', $formats) || in_array('electronic Article', $formats)) {
return 'Article';
} elseif (in_array('Journal', $formats)) {
} elseif (in_array('Journal', $formats) || in_array('eJournal', $formats)) {
return 'Journal';
} elseif (strlen($this->getCleanISSN()) > 0) {
// If the record has an ISSN and we have not already
Expand Down

0 comments on commit de1b3a8

Please sign in to comment.