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=3959d00ccbdceae19d32df7365c40d05efb29598;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 5270a8a666..ae2037a0b6 100644 --- a/CRM/Mailing/BAO/Mailing.php +++ b/CRM/Mailing/BAO/Mailing.php @@ -2872,12 +2872,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), ], ];