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:
3b8dfec
)
CRM-17631: Process mailing jobs by scheduled date
author
JKingsnorth
<john@johnkingsnorth.co.uk>
Tue, 5 Jan 2016 11:16:30 +0000
(11:16 +0000)
committer
JKingsnorth
<john@johnkingsnorth.co.uk>
Tue, 5 Jan 2016 11:16:30 +0000
(11:16 +0000)
CRM/Mailing/BAO/MailingJob.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Mailing/BAO/MailingJob.php
b/CRM/Mailing/BAO/MailingJob.php
index 182265b34c2af108c06480e0259661f647bed07f..61a62b1b0cadb566d375488dbfd622ac4877b754 100644
(file)
--- a/
CRM/Mailing/BAO/MailingJob.php
+++ b/
CRM/Mailing/BAO/MailingJob.php
@@
-123,8
+123,8
@@
class CRM_Mailing_BAO_MailingJob extends CRM_Mailing_DAO_MailingJob {
AND j.end_date IS null ) )
AND (j.job_type = 'child')
AND {$mailingACL}
- ORDER BY j.
mailing_id
,
-
j.
id
+ ORDER BY j.
scheduled_date ASC
,
+
j.mailing_
id
";
$job->query($query);