diff --git a/classes/controllers/grid/issues/IssueGridHandler.php b/classes/controllers/grid/issues/IssueGridHandler.php index fc08422dd29..395b4a13b3d 100644 --- a/classes/controllers/grid/issues/IssueGridHandler.php +++ b/classes/controllers/grid/issues/IssueGridHandler.php @@ -49,6 +49,7 @@ use PKP\file\TemporaryFileManager; use PKP\mail\Mailer; use PKP\notification\NotificationSubscriptionSettingsDAO; +use PKP\observers\events\MetadataChanged; use PKP\plugins\Hook; use PKP\plugins\PluginRegistry; use PKP\security\authorization\ContextAccessPolicy; @@ -603,6 +604,9 @@ public function publishIssue($args, $request) foreach ($publications as $publication) { /** @var Publication $publication */ if ($publication->getData('status') === Submission::STATUS_SCHEDULED && $publication->getData('issueId') === (int) $issue->getId()) { Repo::publication()->publish($publication); + + // dispatch the MetadataChanged event after publishing + event(new MetadataChanged($submission)); } } } diff --git a/templates/authorDashboard/authorDashboard.tpl b/templates/authorDashboard/authorDashboard.tpl index 331fe8d8006..b0a3344d02a 100644 --- a/templates/authorDashboard/authorDashboard.tpl +++ b/templates/authorDashboard/authorDashboard.tpl @@ -110,12 +110,7 @@ -