Remove sorting by _id

This commit is contained in:
boeserwolf 2020-04-19 15:51:29 +03:00
parent ef5f38f431
commit e354715a9d

View file

@ -92,7 +92,7 @@ Meteor.publishRelations('board', function(boardId, isArchived) {
$or, $or,
// Sort required to ensure oplog usage // Sort required to ensure oplog usage
}, },
{ limit: 1, sort: { sort: 1 /* boards default sorting */, _id: 1 } }, { limit: 1, sort: { sort: 1 /* boards default sorting */ } },
), ),
function(boardId, board) { function(boardId, board) {
this.cursor(Lists.find({ boardId, archived: isArchived })); this.cursor(Lists.find({ boardId, archived: isArchived }));