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>
Thu, 9 Nov 2023 21:11:23 +0000 (10:11 +1300)
CRM/Mailing/BAO/Mailing.php

index 5270a8a666fc4f4a35c8bd924eaa4823faead562..ae2037a0b698efe369242d86a39b94566b8e2d87 100644 (file)
@@ -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),
         ],
       ];