From a5c0c7f225d043c0ffe63c6204d60af28314bb82 Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Thu, 9 Oct 2014 14:20:48 -0400 Subject: [PATCH] CRM-15435: Fix custom group weights (mostly for Case ActivityView). --- CRM/Case/XMLProcessor/Report.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Case/XMLProcessor/Report.php b/CRM/Case/XMLProcessor/Report.php index 13d40f6f52..bdfc9c4ca1 100644 --- a/CRM/Case/XMLProcessor/Report.php +++ b/CRM/Case/XMLProcessor/Report.php @@ -628,7 +628,7 @@ AND cg.extends = 'Activity'"; else { $query .= "AND cg.extends_entity_column_value IS NULL"; } - $query .= "ORDER BY cf.weight"; + $query .= "ORDER BY cg.weight, cf.weight"; $params = array( 1 => array($activityTypeID, 'Integer', -- 2.25.1