CRM-20903 Order dedupe rules by title not ID - users first!
authorJKingsnorth <john@johnkingsnorth.co.uk>
Wed, 11 Oct 2017 08:07:03 +0000 (09:07 +0100)
committerJKingsnorth <john@johnkingsnorth.co.uk>
Wed, 11 Oct 2017 08:07:03 +0000 (09:07 +0100)
CRM/Contact/Page/DedupeRules.php

index 350e260321d9f5ebef85579b31fc2892db38ab13..d7288e6dbfa8f703542e0214ba2f32caf08a33f1 100644 (file)
@@ -132,7 +132,7 @@ class CRM_Contact_Page_DedupeRules extends CRM_Core_Page_Basic {
     // get all rule groups
     $ruleGroups = array();
     $dao = new CRM_Dedupe_DAO_RuleGroup();
-    $dao->orderBy('contact_type ASC, used ASC, id ASC');
+    $dao->orderBy('contact_type ASC, used ASC, title ASC');
     $dao->find();
 
     $dedupeRuleTypes = CRM_Core_SelectValues::getDedupeRuleTypes();