From: Eileen McNaughton Date: Mon, 6 Mar 2023 20:27:34 +0000 (+1300) Subject: Fix url generation X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f95f618d825c97530eafcf0b4d413d41f802794f;p=civicrm-core.git Fix url generation --- diff --git a/ext/civiimport/civiimport.php b/ext/civiimport/civiimport.php index eef2432d68..158135f846 100644 --- a/ext/civiimport/civiimport.php +++ b/ext/civiimport/civiimport.php @@ -239,6 +239,6 @@ function civiimport_civicrm_buildForm(string $formName, $form) { } if ($formName === 'CRM_Contact_Import_Form_Summary') { - $form->assign('downloadErrorRecordsUrl', '/civicrm/search#/display/Import_' . $form->getUserJobID() . '/Import_' . $form->getUserJobID() . '?_status=ERROR'); + $form->assign('downloadErrorRecordsUrl', CRM_Utils_System::url('civicrm/search', '', TRUE, '/display/Import_' . $form->getUserJobID() . '/Import_' . $form->getUserJobID() . '?_status=ERROR', FALSE)); } }