From e82a6e77fde906d6f329f2606f923ff745c6bba7 Mon Sep 17 00:00:00 2001 From: Jhon Date: Mon, 6 Dec 2021 14:28:09 -0400 Subject: [PATCH] Adds support for ROR link view in OPS Signed-off-by: Jhon Signed-off-by: Luis --- RORPlugin.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/RORPlugin.php b/RORPlugin.php index c55dd78..d4013cc 100755 --- a/RORPlugin.php +++ b/RORPlugin.php @@ -38,10 +38,9 @@ public function register($category, $path, $mainContextId = NULL) { 'validation' => ['nullable'] ]; }); - # Article + # Submission HookRegistry::register('ArticleHandler::view', array(&$this, 'submissionView')); - //HookRegistry::register('PreprintHandler::view', array(&$this, 'submissionView')); - + HookRegistry::register('PreprintHandler::view', array(&$this, 'submissionView')); } return $success;