From f73329c487001f3db78a8e9bf98c701ff600310f Mon Sep 17 00:00:00 2001 From: eileen Date: Tue, 30 Jul 2019 19:13:08 +1200 Subject: [PATCH] Fix accidental move of sort_name field on advanced search The code that made this field url-enterable ALSO re-ordered them by accident - this fixes --- CRM/Contact/Form/Search/Criteria.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CRM/Contact/Form/Search/Criteria.php b/CRM/Contact/Form/Search/Criteria.php index 18884ac5b8..0532894df3 100644 --- a/CRM/Contact/Form/Search/Criteria.php +++ b/CRM/Contact/Form/Search/Criteria.php @@ -291,6 +291,8 @@ class CRM_Contact_Form_Search_Criteria { public static function getBasicSearchFields() { $userFramework = CRM_Core_Config::singleton()->userFramework; return [ + // For now an empty array is still left in place for ordering. + 'sort_name' => [], 'email' => ['name' => 'email'], 'contact_type' => ['name' => 'contact_type'], 'group' => [ -- 2.25.1