Order subjects by automation_run_id and id
[MAILPOET-4966]
This commit is contained in:
@@ -84,7 +84,7 @@ class AutomationRunStorage {
|
|||||||
$automationRunIds = array_column($automationRuns, 'id');
|
$automationRunIds = array_column($automationRuns, 'id');
|
||||||
|
|
||||||
$sql = sprintf(
|
$sql = sprintf(
|
||||||
"SELECT * FROM $subjectTable WHERE automation_run_id in (%s) order by automation_run_id",
|
"SELECT * FROM $subjectTable WHERE automation_run_id in (%s) order by automation_run_id, id",
|
||||||
implode(
|
implode(
|
||||||
',',
|
',',
|
||||||
array_map(
|
array_map(
|
||||||
|
Reference in New Issue
Block a user