Skip to content

Commit

Permalink
0005798: Ordered outgoing batches by both batch ID and node ID
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-miller-jumpmind committed Apr 17, 2023
1 parent 16dfbf4 commit daae16a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -324,7 +324,7 @@ protected String buildBatchOrderBy(String orderColumn, String orderDirection) {
String orderBy = " order by ";
if (orderColumn == null) {
if (this instanceof OutgoingBatchService) {
orderBy += "batch_id desc";
orderBy += "batch_id desc, node_id desc";
} else {
orderBy += "create_time desc";
}
Expand Down

0 comments on commit daae16a

Please sign in to comment.