From: JKingsnorth Date: Thu, 13 Jul 2017 15:47:37 +0000 (+0100) Subject: CRM-20863 Improve report list ordering X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=493bc048bbc2ce10c15fa37b2b23e5946d8819cc;p=civicrm-core.git CRM-20863 Improve report list ordering --- diff --git a/CRM/Report/Page/InstanceList.php b/CRM/Report/Page/InstanceList.php index fa4e74e390..f614582022 100644 --- a/CRM/Report/Page/InstanceList.php +++ b/CRM/Report/Page/InstanceList.php @@ -130,7 +130,7 @@ class CRM_Report_Page_InstanceList extends CRM_Core_Page { WHERE v.is_active = 1 {$report} AND inst.domain_id = %1 - ORDER BY v.weight"; + ORDER BY v.weight ASC, inst.title ASC"; $dao = CRM_Core_DAO::executeQuery($sql, array( 1 => array(CRM_Core_Config::domainID(), 'Integer'),