CRM-18339: Fix merge screen link to contact's mailings
authorJKingsnorth <john@johnkingsnorth.co.uk>
Fri, 8 Apr 2016 11:06:59 +0000 (12:06 +0100)
committerJKingsnorth <john@johnkingsnorth.co.uk>
Fri, 8 Apr 2016 11:06:59 +0000 (12:06 +0100)
CRM/Dedupe/Merger.php

index 06a545efe5ed027e201dd66c9f04e3e7c9bdd8cb..c5079be6cd60211b55040f3793854c7751c71a07 100644 (file)
@@ -122,7 +122,7 @@ class CRM_Dedupe_Merger {
         'rel_table_mailings' => array(
           'title' => ts('Mailings'),
           'tables' => array('civicrm_mailing', 'civicrm_mailing_event_queue', 'civicrm_mailing_event_subscribe'),
-          'url' => CRM_Utils_System::url('civicrm/mailing', 'reset=1&force=1&cid=$cid'),
+          'url' => CRM_Utils_System::url('civicrm/contact/view', 'reset=1&force=1&cid=$cid&selectedChild=mailing'),
         ),
         'rel_table_cases' => array(
           'title' => ts('Cases'),