From: Eileen McNaughton Date: Thu, 9 Nov 2023 21:11:23 +0000 (+1300) Subject: Add weights to CRM_Mailing_BAO_Mailing::getContactMailingSelector X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1171e5637ed7201410e735e151534a54648f3004;p=civicrm-core.git Add weights to CRM_Mailing_BAO_Mailing::getContactMailingSelector --- diff --git a/CRM/Mailing/BAO/Mailing.php b/CRM/Mailing/BAO/Mailing.php index 5d984633c5..ff358c3509 100644 --- a/CRM/Mailing/BAO/Mailing.php +++ b/CRM/Mailing/BAO/Mailing.php @@ -2870,12 +2870,14 @@ ORDER BY civicrm_mailing.id DESC"; 'qs' => "reset=1&id=%%mkey%%&cid=%%cid%%&cs=%%cs%%", 'title' => ts('View Mailing'), 'class' => 'crm-popup', + 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::VIEW), ], CRM_Core_Action::BROWSE => [ 'name' => ts('Mailing Report'), 'url' => 'civicrm/mailing/report', 'qs' => "mid=%%mid%%&reset=1&cid=%%cid%%&context=mailing", 'title' => ts('View Mailing Report'), + 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::BROWSE), ], ];