From b7527c355c7b3f28059375509043745fc8e4c4df Mon Sep 17 00:00:00 2001 From: jyhein <124268211+jyhein@users.noreply.github.com> Date: Mon, 15 Apr 2024 12:13:50 +0300 Subject: [PATCH] pkp/pkp-lib#699 show locale in url --- filter/PreprintCrossrefXmlFilter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filter/PreprintCrossrefXmlFilter.php b/filter/PreprintCrossrefXmlFilter.php index 391992981c..4e9c4c21ca 100644 --- a/filter/PreprintCrossrefXmlFilter.php +++ b/filter/PreprintCrossrefXmlFilter.php @@ -265,7 +265,7 @@ public function createPostedContentNode($doc, $publication, $submission) // DOI data $dispatcher = $this->_getDispatcher($request); - $url = $dispatcher->url($request, Application::ROUTE_PAGE, null, 'preprint', 'view', [$submission->getCurrentPublication()->getData('urlPath') ?? $submission->getId(), 'version', $publication->getId()], null, null, true); + $url = $dispatcher->url($request, Application::ROUTE_PAGE, null, 'preprint', 'view', [$submission->getCurrentPublication()->getData('urlPath') ?? $submission->getId(), 'version', $publication->getId()], null, null, true, ''); $postedContentNode->appendChild($this->createDOIDataNode($doc, $publication->getDoi(), $url)); return $postedContentNode;