projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30ce03e
)
CRM-21282 Improve ordering of click reporting
author
JKingsnorth
<john@johnkingsnorth.co.uk>
Tue, 10 Oct 2017 08:21:05 +0000
(09:21 +0100)
committer
JKingsnorth
<john@johnkingsnorth.co.uk>
Tue, 10 Oct 2017 08:21:05 +0000
(09:21 +0100)
CRM/Mailing/BAO/Mailing.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Mailing/BAO/Mailing.php
b/CRM/Mailing/BAO/Mailing.php
index 766da13306e0d3628b5d5616faabcb94ea56236c..a0da9bbb64820543079818bdf7204d7fcc05e3c7 100644
(file)
--- a/
CRM/Mailing/BAO/Mailing.php
+++ b/
CRM/Mailing/BAO/Mailing.php
@@
-2231,7
+2231,8
@@
ORDER BY civicrm_email.is_bulkmail DESC
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();