Skip to content

Commit

Permalink
Merge pull request #11099 from JKingsnorth/CRM-21282
Browse files Browse the repository at this point in the history
CRM-21282 Improve ordering of click reporting
  • Loading branch information
eileenmcnaughton authored Oct 11, 2017
2 parents 8408c6a + d501abe commit 0aa9b4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CRM/Mailing/BAO/Mailing.php
Original file line number Diff line number Diff line change
Expand Up @@ -2231,7 +2231,8 @@ public static function &report($id, $skipDetails = FALSE, $isSMS = FALSE) {
ON {$t['queue']}.job_id = {$t['job']}.id
WHERE {$t['url']}.mailing_id = $mailing_id
AND {$t['job']}.is_test = 0
GROUP BY {$t['url']}.id");
GROUP BY {$t['url']}.id
ORDER BY unique_clicks DESC");

$report['click_through'] = array();

Expand Down

0 comments on commit 0aa9b4b

Please sign in to comment.