From 1a3fc6945ab78e7c9c4199d0002fe30f56c7bffa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jarda=20Kot=C4=9B=C5=A1ovec?= Date: Thu, 17 Oct 2024 14:18:37 +0200 Subject: [PATCH] pkp/pkp-lib#7495 Enable new submission listing by default for OMP --- config.TEMPLATE.inc.php | 2 +- index.php | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/config.TEMPLATE.inc.php b/config.TEMPLATE.inc.php index d86405a2229..fffb88d77a3 100644 --- a/config.TEMPLATE.inc.php +++ b/config.TEMPLATE.inc.php @@ -621,4 +621,4 @@ [features] -enable_new_submission_listing = Off \ No newline at end of file +enable_new_submission_listing = On \ No newline at end of file diff --git a/index.php b/index.php index 2ffee518b11..be25cd58cdc 100644 --- a/index.php +++ b/index.php @@ -12,10 +12,19 @@ */ use APP\core\Application; +use PKP\config\Config; // Initialize global environment define('INDEX_FILE_LOCATION', __FILE__); require_once './lib/pkp/includes/bootstrap.php'; +// Temporarly enable enable_new_submission_listing for OJS, until OMP&OPS catch up +// Its still possible to disable it with explicitely setting it to 'Off' +if(Config::getVar('features', 'enable_new_submission_listing') === null) { + $configData = & Config::getData(); + $configData['features']['enable_new_submission_listing'] = true; +} + + // Serve the request Application::get()->execute();