From b91685f5c6963ca7094b03cefed8425bddd6fe51 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 20 Jun 2022 13:45:34 +1200 Subject: [PATCH] Add view link to user job monitoring page --- CRM/Core/DAO/UserJob.php | 11 ++++++++++- xml/schema/Core/UserJob.xml | 3 +++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CRM/Core/DAO/UserJob.php b/CRM/Core/DAO/UserJob.php index cfa4055004..51314b1b43 100644 --- a/CRM/Core/DAO/UserJob.php +++ b/CRM/Core/DAO/UserJob.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/UserJob.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:fc2efbbf7b26018fe3dff0cda44ffa28) + * (GenCodeChecksum:dbe7ab7b35b9ebe7f7248cc6385e19b6) */ /** @@ -30,6 +30,15 @@ class CRM_Core_DAO_UserJob extends CRM_Core_DAO { */ public static $_log = FALSE; + /** + * Paths for accessing this entity in the UI. + * + * @var string[] + */ + protected static $_paths = [ + 'view' => 'civicrm/import/contact/summary?reset=1&user_job_id=[id]', + ]; + /** * Job ID * diff --git a/xml/schema/Core/UserJob.xml b/xml/schema/Core/UserJob.xml index dd01a2e791..629098ade3 100644 --- a/xml/schema/Core/UserJob.xml +++ b/xml/schema/Core/UserJob.xml @@ -7,6 +7,9 @@ Tracking for user jobs (eg. imports). 5.50 false + + civicrm/import/contact/summary?reset=1&user_job_id=[id] + id User Job ID -- 2.25.1