Add weights to CRM_Mailing_BAO_Mailing::getContactMailingSelector
authorEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 9 Nov 2023 21:11:23 +0000 (10:11 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 10 Nov 2023 05:32:07 +0000 (18:32 +1300)
CRM/Mailing/BAO/Mailing.php

index 5d984633c5572d9218b0405c907fff6ce13074ad..ff358c350921fe8f4ba0024dabd194345ec98b6f 100644 (file)
@@ -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),
         ],
       ];