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 04949c8 commit 7646b24
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions plugins/importexport/pubmed/PubMedExportPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* @file plugins/importexport/pubmed/PubMedExportPlugin.php
*
* Copyright (c) 2014-2022 Simon Fraser University
* Copyright (c) 2003-2022 John Willinsky
* Copyright (c) 2014-2024 Simon Fraser University
* Copyright (c) 2003-2024 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @class PubMedExportPlugin
Expand All @@ -17,6 +17,7 @@
use APP\core\Application;
use APP\facades\Repo;
use APP\journal\JournalDAO;
use APP\submission\Collector;
use APP\template\TemplateManager;
use Exception;
use PKP\core\PKPApplication;
Expand Down Expand Up @@ -195,6 +196,7 @@ public function exportIssues($issueIds, $context, $user)
->getCollector()
->filterByContextIds([$context->getId()])
->filterByIssueIds($issueIds)
->orderBy(Collector::ORDERBY_SEQUENCE, Collector::ORDER_DIR_ASC)
->getMany();

libxml_use_internal_errors(true);
Expand Down

0 comments on commit 7646b24

Please sign in to comment.