Skip to content

Commit

Permalink
pkp/pkp-lib#8564 order export by issue ordering in pubmed plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
kaitlinnewson committed Aug 7, 2024
1 parent 7000678 commit 7e303e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/importexport/pubmed/PubMedExportPlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ function exportIssues($issueIds, $context, $user) {
$submissionsIterator = Services::get('submission')->getMany([
'contextId' => $context->getId(),
'issueIds' => $issueIds,
'orderBy' => 'seq',
'orderDirection' => 'ASC',
]);
libxml_use_internal_errors(true);
$submissionXml = $exportFilter->execute(iterator_to_array($submissionsIterator), true);
Expand Down

0 comments on commit 7e303e2

Please sign in to comment.