fix(syncing-server): order by for identical created at date
This commit is contained in:
parent
3df14149f0
commit
29e573e9b5
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ export class MongoDBItemRepository implements ItemRepositoryInterface {
|
|||
.toLowerCase()
|
||||
.replace(/([-_][a-z])/g, (group) => group.toUpperCase().replace('-', '').replace('_', ''))
|
||||
|
||||
options.order = { [sortBySnakeToCamelCase]: query.sortOrder }
|
||||
options.order = { [sortBySnakeToCamelCase]: query.sortOrder, _id: 'ASC' }
|
||||
}
|
||||
|
||||
if (query.uuids && query.uuids.length > 0) {
|
||||
|
|
Loading…
Reference in a new issue