diff --git a/lib/pkp b/lib/pkp index 5a1ed1ffaef..4b76d986c62 160000 --- a/lib/pkp +++ b/lib/pkp @@ -1 +1 @@ -Subproject commit 5a1ed1ffaef980f63ebdbc2c74711c17da559f1d +Subproject commit 4b76d986c6291167bf940f9afb4eb74b146bcd91 diff --git a/plugins/importexport/onix30/Onix30ExportPlugin.php b/plugins/importexport/onix30/Onix30ExportPlugin.php index 959b0302660..e95a4414e6c 100644 --- a/plugins/importexport/onix30/Onix30ExportPlugin.php +++ b/plugins/importexport/onix30/Onix30ExportPlugin.php @@ -133,14 +133,16 @@ public function display($args, $request) $request, __('plugins.importexport.native.export.submissions.results'), 'exportSubmissions', - ['selectedSubmissions' => $request->getUserVar('selectedSubmissions')] + ['selectedSubmissions' => $request->getUserVar('selectedSubmissions'), 'validation' => $request->getUserVar('validation')] ); return $tab; case 'exportSubmissions': $submissionIds = (array) $request->getUserVar('selectedSubmissions'); - $this->getExportSubmissionsDeployment($submissionIds, $this->_childDeployment); + $noValidation = $request->getUserVar('validation') ? ['noValidation' => 0] : ['noValidation' => 1]; + + $this->getExportSubmissionsDeployment($submissionIds, $this->_childDeployment, $noValidation); $result = $this->getExportTemplateResult($this->getDeployment(), $templateMgr, 'submissions'); diff --git a/plugins/importexport/onix30/templates/index.tpl b/plugins/importexport/onix30/templates/index.tpl index 4fc9797b989..ee13db0041d 100644 --- a/plugins/importexport/onix30/templates/index.tpl +++ b/plugins/importexport/onix30/templates/index.tpl @@ -72,6 +72,9 @@ + {fbvFormSection list="true"} + {fbvElement type="checkbox" id="validation" label="plugins.importexport.common.validation" checked=$validation|default:true} + {/fbvFormSection} {fbvFormSection}