From b5230fbbcc6c8e663bb9910d687f8c0ed399a515 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Sch=C3=BCttler?= Date: Tue, 5 Jul 2022 10:33:09 +0200 Subject: [PATCH] Fix sorting by mapping type --- CRM/Admin/Page/Mapping.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Admin/Page/Mapping.php b/CRM/Admin/Page/Mapping.php index a5d2737cf0..1e9d326e54 100644 --- a/CRM/Admin/Page/Mapping.php +++ b/CRM/Admin/Page/Mapping.php @@ -123,8 +123,8 @@ class CRM_Admin_Page_Mapping extends CRM_Core_Page_Basic { * Run the basic page. */ public function run() { - $sort = 'mapping_type asc'; - return parent::run($sort); + $sort = 'mapping_type_id ASC, name ASC'; + return parent::run(NULL, NULL, $sort); } } -- 2.25.1