From 1b09457ae99b518048e4bacb03534eb7355961e9 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 27 Oct 2023 14:36:36 +1300 Subject: [PATCH] Fix weights in Register screen --- CRM/Report/Page/Options.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CRM/Report/Page/Options.php b/CRM/Report/Page/Options.php index a82c931d7c..4fb9d81b13 100644 --- a/CRM/Report/Page/Options.php +++ b/CRM/Report/Page/Options.php @@ -94,22 +94,26 @@ class CRM_Report_Page_Options extends CRM_Core_Page_Basic { 'url' => 'civicrm/admin/report/register/' . self::$_gName, 'qs' => 'action=update&id=%%id%%&reset=1', 'title' => ts('Edit %1', [1 => self::$_gLabel]), + 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::UPDATE), ], CRM_Core_Action::DISABLE => [ 'name' => ts('Disable'), 'ref' => 'crm-enable-disable', 'title' => ts('Disable %1', [1 => self::$_gLabel]), + 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::DISABLE), ], CRM_Core_Action::ENABLE => [ 'name' => ts('Enable'), 'ref' => 'crm-enable-disable', 'title' => ts('Enable %1', [1 => self::$_gLabel]), + 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::ENABLE), ], CRM_Core_Action::DELETE => [ 'name' => ts('Delete'), 'url' => 'civicrm/admin/report/register/' . self::$_gName, 'qs' => 'action=delete&id=%%id%%&reset=1', 'title' => ts('Delete %1 Type', [1 => self::$_gLabel]), + 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::DELETE), ], ]; } -- 2.25.1