Skip to content

Commit

Permalink
Use the primary key for ordering in SyncAll* jobs (#1107)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunndabad authored Jan 24, 2024
1 parent 277b90b commit 2484864
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public async Task Execute(CancellationToken cancellationToken)
Criteria = filter,
Orders =
{
new OrderExpression(dfeta_qualification.Fields.CreatedOn, OrderType.Ascending)
new OrderExpression(dfeta_qualification.PrimaryIdAttribute, OrderType.Ascending)
},
PageInfo = new PagingInfo()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public async Task Execute(CancellationToken cancellationToken)
Criteria = filter,
Orders =
{
new OrderExpression(Contact.Fields.CreatedOn, OrderType.Ascending)
new OrderExpression(Contact.PrimaryIdAttribute, OrderType.Ascending)
},
PageInfo = new PagingInfo()
{
Expand Down

0 comments on commit 2484864

Please sign in to comment.