Skip to content

Commit

Permalink
Use full titles in DOAJ XML export
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Jan 14, 2025
1 parent 019888d commit c6847d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/importexport/doaj/filter/DOAJXmlFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public function &process(&$pubObjects)
$recordNode->appendChild($node = $doc->createElement('documentType', htmlspecialchars($type, ENT_COMPAT, 'UTF-8')));
}
// Article title
$articleTitles = $publication->getTitles();
$articleTitles = $publication->getFullTitles();
if (array_key_exists($publication->getData('locale'), $articleTitles)) {
$titleInArticleLocale = $articleTitles[$publication->getData('locale')];
unset($articleTitles[$publication->getData('locale')]);
Expand Down

0 comments on commit c6847d7

Please sign in to comment.