Commit d501abeb authored by JKingsnorth's avatar JKingsnorth

CRM-21282 Improve ordering of click reporting

parent 30ce03ec
......@@ -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();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment